Re: UnicodeDecodeError
Adam Todd <[email protected]>
| Newsgroups | gmane.mail.spam.tmda.user |
|---|---|
| Message-ID | <[email protected]> |
At 08:19 AM 13/11/2006, you wrote: >Today I've got a UnicodeDecodeError error while using tmda.cgi. > >I have attached the complete error message and the email which caused >the error. Yep already talking to Jim about that one! (Got it over a week ago.) Check your python version, Jim suggested it might be to do with an older version. (Sorry version numbers not handy, and I haven't upgraded as yet.) >CharSet = u'iso-8859-8-i', global TranslateToUTF8 = <function >TranslateToUTF8>, global PVars = <Session.Session instance>, Str = >'\xec\xee\xe3 \xe1\xf2\xf6\xee\xea \xec\xe3\xe1\xf8 \xf2\xf8\xe1\xe9\xfa', >Errors = 'ignore' I've been doing this (if you don't understand, email me offlist.) for F in `grep -l iso-2022-jp pending/*`; do mv $F faults; done Does the "job" for the moment, and enables me to send the filed to Jim :) Although he said he has enough examples now :)