#9212: German Umlauts and possible other foreign languages special characters
-------------------------------------------+--------------------------------
          Reporter:  nekron                |         Owner:  nobody  
            Status:  new                   |     Milestone:  post-1.0
         Component:  Internationalization  |       Version:  SVN     
        Resolution:                        |      Keywords:  Umlauts 
             Stage:  Unreviewed            |     Has_patch:  0       
        Needs_docs:  0                     |   Needs_tests:  0       
Needs_better_patch:  0                     |  
-------------------------------------------+--------------------------------
Comment (by mtredinnick):

 I suspect there's something Windows-specific going on here, possibly with
 respect to the native system encoding or possibly the behaviour of
 msgmerge or maybe something else. I cannot repeat this problem on Linux.

 Somebody with a Windows box who can repeat this problem will need to debug
 this. Probably by printing `repr(msgs)` at each step throughout
 `django/core/management/command/makemessages.py` to see where the problem
 occurs. If at all possible, I would like to avoid having to use
 `codecs.open()` in that file, since that might restrict the portability of
 that tool to places like Jython, IronPython, PyPy, etc. It also shouldn't
 make a difference, since writing to the filesystem should not be magically
 re-encoding the bytes we are writing out.

 I do notice that line 156 of `makemessages.py` doesn't open for writing in
 `wb` mode (just `w` mode), although I don't think that should be making a
 difference on the encoding of the written data.

 So this needs somebody who can confirm it (and/or provide a repeatable
 test case, since the one in the bug description doesn't seem to be enough
 to repeat it for me) and maybe somebody on Windows to work out what's
 going wrong there.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9212#comment:2>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to