gtxml crashes with UnicodeDecodeError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PyG3T |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
$ cat da.po
msgid ""
msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
msgid "<a>You did not specify the engine executable</a>"
msgstr "<a>Du angav ikke en kørbar motor<a>"
$ gtxml da.po
Traceback (most recent call last):
File "/usr/bin/gtxml", line 5, in <module>
gtxml.main()
File "/usr/lib/
for bad_msg, err in gtxml.check_
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
xmlstring = self._filter(
File "/usr/lib/
xml = u''.join([u'<xml>', string.
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 21: ordinal not in range(128)
$
Thanks. This should be fixed in trunk.