On Mar 1, 2006, at 5:00 PM, Valentino Volonghi aka Dialtone wrote:

On Wed, 1 Mar 2006 16:24:02 -0500, Michael Bayer <[EMAIL PROTECTED]> wrote:
wow, i wish you had told me this yesterday, when i was asking if psycopg can handle unicode (on irc ? not sure where that was).

anyway, theres a ticket that I "fixed" by allowing the "convert_unicode" flag to Engine which will do the native utf-8 <- > binary encoding in and out of any engine. you might want to try that.

It could work if it handled None well :).

good call, i just committed that.

does:

        psycopg2.extensions.register_type(psycopg2.extensions.UNICODE)

turn on unicode globally ?

assuming the current conversion-in-python works, does that get the job done for us ? or is there some advantage to psycopg's extension that we're missing out on ?


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to