Anyone know how to make MySQL return Unicode for text fields?  My
schema looks sort of like this:

TABLE users (
    int id NOT NULL auto_increment,
    first TEXT NOT NULL,
    primary key (id)
) CHARSET=utf8

Yet if I do a query via webpy....

user = mydb.select("users")[0]
type(user.first)
    --- "str"

Am I doing something wrong?  Is this a problem with the MySQL bindings
for python?
--~--~---------~--~----~------------~-------~--~----~
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