[sqlalchemy] Re: SA 0.4 with SQLServer and PyODBC Unicode data into nvarchar column

2009-06-18 Thread Cristian Romanescu
The wirdest thing is that if I write: ob = Test2('just a test') session.save(ob) session.commit() 2009-06-18 17:08:15,251 INFO sqlalchemy.engine.base.Engine.0x..74 INSERT INTO test2 (comment) VALUES (?) 2009-06-18 17:08:15,251 INFO sqlalchemy.engine.base.Engine.0x..74 ['just a test'] 2009-06-18 1

[sqlalchemy] Re: SA 0.4 with SQLServer and PyODBC Unicode data into nvarchar column

2009-06-18 Thread Cristian Romanescu
Well, out of the box it didn't work, I pasted a sample code here: http://pastebin.com/m104b32e0 (note that strings are bulgarian characters not А as put by pastebin. My FreeTDS/ODBC are: --- freetds.conf [Observations_TDS] host = 10.0.0.50 port = 1433 tds version =