UTF-8. Note that if I comment out:
if 'charset' not in keywords:
keywords['charset'] = 'utf8'
everything is OK (with my init_command = "SET NAMES utf8", of course).
tnx
On 3 Dic, 15:19, Justin Davis <[EMAIL PROTECTED]> wrote:
> What encoding did you use when you set up your schema (or did you not
> specify one)?
>
> On Dec 3, 4:24 am, skp_999 <[EMAIL PROTECTED]> wrote:
>
>
>
> > In web.py GIT I see:
>
> > "let the result of mysql queries be unicode."
>
> > and you added:
>
> > if 'charset' not in keywords:
> > keywords['charset'] = 'utf8'
>
> > Now I get a lot of ascii decode error from my queries. My db config is
> > the following:
>
> > db = web.database(dbn = 'mysql', host = HOST, user = USER, passwd =
> > PASSWD, db = DB, init_command = "SET NAMES utf8", compress = 1)
>
> > Is it a problem with my init_command or... ?
>
> > tnx
>
> > PS last working version (GIT) 11/25/08
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---