Bobspadger / pyodbc

Automatically exported from code.google.com/p/pyodbc
MIT No Attribution
0 stars 0 forks source link

Type str vs unicode for values of queries #131

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I am using ODBC to query a SQL Server database. It seems that for fields that 
are text or varchar in the database, the values that I get in Python are <str>. 
In the cursor.description they appear as <str>.

Is there any way that they would be unicode? I have problems with characters 
such as éóñ etc.

Thank you,

Original issue reported on code.google.com by zey...@gmail.com on 22 Oct 2010 at 1:31

GoogleCodeExporter commented 9 years ago
Please, FORGET THIS. I did not intend to publish it here.

Original comment by zey...@gmail.com on 22 Oct 2010 at 1:32

GoogleCodeExporter commented 9 years ago

Original comment by mkleehammer on 20 Nov 2010 at 7:04

GoogleCodeExporter commented 9 years ago

Original comment by mkleehammer on 21 Nov 2010 at 4:43