[New-bugs-announce] [issue6010] unable to retrieve latin-1 encoded data from sqlite3

izarf report at bugs.python.org
Wed May 13 12:35:08 CEST 2009


New submission from izarf <izarf.mail at gmail.com>:

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 <report at bugs.python.org>
<http://bugs.python.org/issue6010>
_______________________________________


More information about the New-bugs-announce mailing list