Hi Pierre,

I have wasted a lot of time this week about this issue. I guess you
have MySQLdb 1.2.1.
It looks like MySQLdb 1.2.1 (in contrast to MySQLdb 1.2.0) expects
unicode strings in its
queries. But, SQLObject passes the strings to MySQLdb as normal strings
with its default encoding
(utf8).

I've mailed yesterday the sqlobject mailing list about this and still
expecting a reply.

At the time being, the possible solutions are:
1. Downgrade to MySQLdb 1.2.0
2. Use a different database engine (I had success in unicode with
sqlite)
3. Check out SQLAlchemy (I didn't try it yet)


--~--~---------~--~----~------------~-------~--~----~
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