[sqlalchemy] convert_unicode option when using postgre and psycopg2

2011-10-28 Thread Manav Goel
Hi I am using sqlalchemy with postgresql and psycopg2. I want to write unicode compatible web application. I noticed that when I pass string data to sqlalchemy string column, its get converted to unicode after commit. So does setting convert_unicode option True has any meaning in this

Re: [sqlalchemy] convert_unicode option when using postgre and psycopg2

2011-10-28 Thread Michael Bayer
convert_unicode these days is by default conditional - if the DBAPI accepts Python unicode objects directly, and/or can be coerced to return unicode objects directly, SQLAlchemy doesn't do any encoding. This is the case with psycopg2 which both accepts Python unicode objects as bound