Rosetta export fails because of graphical newline (u'\u21b5') character
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
High
|
Carlos Perelló Marín |
Bug Description
The rosetta export sometimes fails because a graphical newline (u'\u21b5') character is encountered in the translation content. This is a case similar to the dot character we use to indicate spaces; it needs to be transparently converted when saving the translation.
Of course, this only fails for pofiles in encodings that don't offer that character; even so, it should be fixed throughout.
File "/srv/launchpad
chunks.
File "/srv/launchpad
return unicode(
UnicodeEncodeError: 'latin-1' codec can't encode character u'\u21b5' in position 171: ordinal not in range(256)
Changed in rosetta: | |
assignee: | nobody → carlos |
Changed in rosetta: | |
status: | New → Accepted |