#9212: German Umlauts and possible other foreign languages special characters
-------------------------------------------+--------------------------------
Reporter: nekron | Owner: nobody
Status: reopened | Milestone:
Component: Internationalization | Version: 1.1
Resolution: | Keywords: Umlauts
Stage: Accepted | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------------------+--------------------------------
Comment (by kmtracey):
Replying to [comment:14 thie1210]:
Why are you using version 0.14.1? The easiest fix would be to update to a
more recent level. At the time this change went in it was hard to find
precompiled binaries for Windows higher than 0.13. Since then a source
has been found (see http://docs.djangoproject.com/en/dev/topics/i18n
/#gettext-on-windows) so there is less motivation to workaround gettext
problems in Django code.
What you seem to be reporting is that the version 0.14.1 you have respects
the `--from-code` for .py files, which the versions I found that exhibited
the original problem did not do. The 0.13.1 likely used by the original
reporter did not, nor did some other 0.14.4 Windows binaries I found.
These would both re-encode the input file to utf-8 assuming an input
encoding of iso-8859-1 (not ASCII). Based on the error you are getting,
the version you have is not doing this, so our attempt to un-do it fails.
That leaves us with being unable to figure out, based on reported version,
whether the command we are calling mangles its input. If we cannot figure
that out, we cannot know whether un-do the mangling. Given we've now
updated our docs to include pointers to how to get a level of gettext
utilities for Windows that does not exhibit the original problem, my
initial inclination for how to fix this new problem is to remove the fix
we put in for the original problem, and add a requirement that you must
use gettext 0.15 or higher.
--
Ticket URL: <http://code.djangoproject.com/ticket/9212#comment:15>
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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---