Max Ischenko wrote: > The fact is, unicode support is inconsistent between DB-API drivers > (e.g. psycopg 2 vs psycopg 1) and SQLObject doesn't shield you from > this. > > So the only meaninful way right now is to always encode your > db/sqlobject queries (to utf8 or whatever you use).
Which means that you cannot use Unicode strings as parameters to SQLObject, because then *SQLObject* creates queries as Unicode strings. So either TurboGears needs to make sure it's only sending bytestrings to SQLObject, or SQLObject needs to have a way to set a client encoding and use this to convert Unicode strings to bytestrings before sending the queries to the DB-API module. -- Gerhard --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

