Wouldn't it be easier to specify to web.database the encoding in my
case it would the default mysql encoding which is latin1? Otherwise
all my db have to be converted to utf8. I think this is a major source
or errors and annoyances.

Specifying charset=None works but then I have to explicitly encode
every field to latin1.

On 02/03/2009, Anand Chitipothu <[email protected]> wrote:
> > Did you someone fix this issue in the latest version of webpy? I got
>  > the exact same error and I think this is a pretty serious bug.
>
>  I don't think it is a bug. This is a problem mismatch in encodings
>  web.py is expecting the database to be in utf-8 encoding but it is not.
>
>  Try passing encoding=None to web.database.
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to