German Umlauts and possible other foreign languages special characters
|Reported by:||nekron||Owned by:||nobody|
|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 7 years ago by nekron
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
comment:5 Changed 7 years ago by mtredinnick
- Cc mtredinnick added
- Triage Stage changed from Unreviewed to Accepted
Changed 7 years ago by kmtracey
comment:10 Changed 7 years ago by kmtracey
- Resolution set to fixed
- Status changed from new to closed
comment:14 follow-up: ↓ 15 Changed 6 years ago by thie1210
- Resolution fixed deleted
- Status changed from closed to reopened
- Version changed from SVN to 1.1