[sqlalchemy] Getting str value when I want unicode

2009-05-18 Thread zugnush
There seem to be a lot of people getting unicode when they want str. I want unicode, I've tried to force it with the connection parameters. I get it for the column heading but not the value. Can anyone explain to me what I'm doing wrong. Thanks Neil In [121]: import sqlalchemy In [122]:

[sqlalchemy] Re: Getting str value when I want unicode

2009-05-18 Thread zugnush
Thanks, I'm still getting a unicode decode error though. C:\Python26\lib\site-packages\sqlalchemy-0.5.2-py2.6.egg\sqlalchemy \types.pyc in process(value) 468 def process(value): 469 if value is not None and not isinstance(value, unicode): -- 470

[sqlalchemy] Re: Getting str value when I want unicode

2009-05-18 Thread zugnush
Yes, No I'm using oracle. I don't see anything applicable on the wikipage. I tried convert_unicode=True assert_unicode=True but I now believe that both are more about conversion than giving hints on the native db coding. The column in question is varchar2 and the db version is 10.2.0.4.0