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

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

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