sqlite3 and UTF-8

Ale Ghelfi grappale at hotmail.it
Tue Dec 7 10:26:04 EST 2010


I try to connect a database sqlite by sqlite3, but return an error.

 >>> rowset = cur.fetchall()
Traceback (most recent call last):
   File "<pyshell#20>", line 1, in <module>
     rowset = cur.fetchall()
OperationalError: Could not decode to UTF-8 column 'DATO' with text 
'Document n°10'

What's happend? thank you



More information about the Python-list mailing list