[Mailman-Users] UnicodeDecodeError during Archive Obscuring
Mark Sapiro
mark at msapiro.net
Sun Nov 25 09:59:38 CET 2007
Tokio Kikuchi wrote:
>
>> File "/usr/local/mailman/Mailman/Archiver/HyperArch.py", line 579, in
>> as_text
>> atmark = unicode(_(' at '), Utils.GetCharSet(self._lang))
>> UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 1:
>> ordinal not in range(128)
<snip>
>
>It is not ' at ' itself but it's translation which caused this error.
>It's strange though the language set immediately before should work for
>its unicode conversion.
It's even stranger than that. the codec is 'ascii'. The only language
with a charset of 'ascii' is 'en' and if the language is 'en', where
does the '\xd0' come from?
--
Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users
mailing list