I am struggling to get strings out of a TEXT field in SQL Server 2008 R2.
(Decimal('4140567'), u'\U0072006f\U006e0061\U00650067')
Alternatively, if I try:
Then the result is:
Traceback (most recent call last):
File "/home/mdenson/projects/test.py", line 20, in <module>
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-2: ordinal not in range(128)
I'm in Ubuntu 12.04, python 2.7.3, and compiled the latest pyodbc 3.0.7-beta06.
Thanks for your help.