Re: Random UnicodeDecodeError ??

2008-02-25 Thread Jean-Pascal Houde
On Feb 25, 5:57 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > This means that almost certainly you don't, in fact, have correct UTF-8 > data in your tables. Some ISO-8859-1 codepoints seem to have slipped in. > You should write a script to run through the data and make sure it > really is

Re: Random UnicodeDecodeError ??

2008-03-09 Thread Jean-Pascal Houde
Excuse me for the delay... I finally had some time to debug this issue. First, about the problems I was having : I moved my application on another server, using apache+mod_python instead of lighttpd+fastcgi, and all my unicode problems disappeared. But I made some more tests using a blank project

Re: Random UnicodeDecodeError ??

2008-03-10 Thread Jean-Pascal Houde
Hi Malcolm, thanks for replying. > Firstly, verify that your database table(s) are expecting data encoded > in something that can handle Unicode data. Basically, this means, ensure > they are not set up to store things with a latin1 encoding. In the my > original reply in this thread, I pointed o