You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to write a django-pyodbc-informix driver.
I have the following problem:
ipdb> self.cursor.execute("SELECT DBINFO('sqlca.sqlerrd1') FROM SYSTABLES")
*** UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbb in position 1: invalid start byte
Also:
cursor.execute("SELECT FIRST 1 'x' FROM SYSTABLES")
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd5 in position 1: invalid continuation byte
But:
ipdb> self.cursor.execute('SELECT FIRST 1 * FROM SYSTABLES') <pyodbc.Cursor object at 0x7fb3a973bdb0>
So apparently the ' is giving problems. =(
any help would be greatly appreciated
The text was updated successfully, but these errors were encountered:
I'm trying to write a django-pyodbc-informix driver.
I have the following problem:
ipdb> self.cursor.execute("SELECT DBINFO('sqlca.sqlerrd1') FROM SYSTABLES")
*** UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbb in position 1: invalid start byte
Also:
cursor.execute("SELECT FIRST 1 'x' FROM SYSTABLES")
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd5 in position 1: invalid continuation byte
But:
ipdb> self.cursor.execute('SELECT FIRST 1 * FROM SYSTABLES')
<pyodbc.Cursor object at 0x7fb3a973bdb0>
So apparently the ' is giving problems. =(
any help would be greatly appreciated
The text was updated successfully, but these errors were encountered: