carlxaeron / django-rosetta

Automatically exported from code.google.com/p/django-rosetta
MIT License
0 stars 0 forks source link

UnicodeDecodeError when translating strings with Umlauts #19

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi, thanks for django-rosetta, it's a very helpful application. I ran 
into a small problem when editing strings from Django templates (using 
Django 1.0 alpha): if the string to be translated contains an umlaut, 
Rosetta bails with a UnicodeDecodeError:

   {% trans "Jetzt erhältlich" %}

I suppose it's to do with Django's unicode handling but Rosetta was 
easier to fix. :-)

Attached is a patch that works for me. Maybe it'll be helpful for someone 
else as well.

Cheers,

Jonas

Original issue reported on code.google.com by jonas.vo...@gmail.com on 23 Jul 2008 at 1:01

Attachments:

GoogleCodeExporter commented 8 years ago
Thank you, fixed in rev [32]

Original comment by mbonetti on 4 Aug 2008 at 2:44