17 Dec 2010 12:08
Re: UnicodeDecodeError - problem identified. How to solve?
Rodolfo Broco Manin <rodolfo <at> ime.unicamp.br>
2010-12-17 11:08:17 GMT
2010-12-17 11:08:17 GMT
Thiago Lima <thiagomadeira <at> gmail.com> writes: > > > Hi, > > I have the UnicodeDecodeError in my tmda-cgi for some long time. Everytime a user complains I delete the message manualy. After googleing for the problem I´ve got no solutions for it. Nobody could describe the problem corretly and the development team could not solve it. > > > After analizing many headers with the problem, I think I solved the problem. TMDA-CGI exit with error when the Subject uses a different encoding than the Content-Type header or if there´s any problem with the 'charset' field in Content-Type header. > > > Exemples that crashes TMDA-CGI: > > -- this one says to use utf-8 but uses latin-1 in the subject. > > Subject: Curso de Introdução ao mercado de Açoes > Content-Type: text/html; > charset="utf-8" > > > -- this one uses utf, but the charset is strange > >(Continue reading)
RSS Feed