German Umlauts and possible other foreign languages special characters
|Reported by:||nekron||Owned by:||nobody|
|Cc:||Malcolm Tredinnick||Triage Stage:||Accepted|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Today I played around with internationalization. My source code labels and template files contain German language by default which I wanted to translate into English. All files are utf-8 encoded so that I can use special Umlauts like "äöüß".
Creating the .po file with "makemessages -l en" I find that e.g. the word "Straße" (=street) will be shown in the .po file as
#: .\survey\models.py:71 msgid "StraÃe" <-- strange chars here! msgstr "Street"
I was editing the .po file with VIM utf-8 encoding set on so in my opinion I should see "Straße" instead of that strange looking word. I am not sure if this is a Windows gettext related bug and will try it on my Linux box tomorrow. Anyway other languages might be affected by this, too. On the other hand this is only a little quirk and translation within the application works fine for me.
Change History (17)
comment:1 Changed 8 years ago by
|Patch needs improvement:||unset|
comment:14 follow-up: 15 Changed 7 years ago by
|Status:||closed → reopened|
|Version:||SVN → 1.1|