New submission from izarf <[email protected]>:
it is impossible to retrieve a latin-1 encoded string from sqlite3 database.
How to:
1. create a new db.
2. create a new table with text field.
3. insert a row with data like "åäö"
4. select all rows from table
5. write:
for data in cursor1:
var = data
you will now get an error explaining something like ascii couldn't decode
----------
components: None
messages: 87672
nosy: izarf
severity: normal
status: open
title: unable to retrieve latin-1 encoded data from sqlite3
type: behavior
versions: Python 2.5
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue6010>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com