sqlite3.OperationalError: Could not decode to UTF-8 column

Filipe Sousa filipe at ipb.pt
Thu Sep 6 05:00:28 EDT 2007


Carsten Haese wrote:
> On Wed, 2007-09-05 at 16:40 +0100, Filipe Sousa wrote:
> 
> Try setting
> 
> conn.text_factory = str
> 
> where conn is the name of your sqlite3 connection object. See
> http://docs.python.org/lib/sqlite3-Connection-Objects.html for more
> information.
> 
> HTH,
> 

Thanks!
It works :)



More information about the Python-list mailing list