On 10/20/06, Liza <[EMAIL PROTECTED]> wrote:
> On 10/18/06, core <[EMAIL PROTECTED]> wrote:
> > I added the charset options on my.cnf but still no game. A \s on the
> > mysql console shows that it is, indeed, using utf:
> >
> > Server characterset:    utf8
> > Db     characterset:    utf8
>
those should fix it if not try use_unicode=True, but the current
implementation is supposed to read the config, are you using the
lastest version of mysqldb?

> There's also the charset of the connection, which seems to be the problem
> here. I was only able to get this to work by hacking the Python MySQL
> connector to send this before each request:
>
>   set names utf8
>
Umm that's supposed to be fix in the newer versions.
see
http://sourceforge.net/forum/message.php?msg_id=3604891

> Here's a related blog post:
> http://tahpot.blogspot.com/2005/06/mysql-and-python-and-unicode.html
>
> Hope that solves it for you.
>
> --Liza
>
>
>
>  >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to