Hi Benjamin,

Thanks for your bug report and sorry for the delay.

Benjamin Schweizer <[EMAIL PROTECTED]> writes:

> pysqlite-2.3.2 accepts binary data on insertss but selects return
> unicode strings. This results in unicode conversion bugs when
> non-unicode bytes are stored in the database.
>
> As sqlite3 accepts binary data in text fields, this seems to be a
> bug in pysqlite. To fix it, one could i) either restrict inserts to
> unicode strings or ii) change the result from unicode to binary.
>
> However, the first would break compatibility with sqlite and that
> latter would break compatibility with existing code. Thus, this
> should be discussed with the authors.

I agree with you. I have created a ticket about this:

http://oss.itsystementwicklung.de/trac/pysqlite/ticket/229

-- 
Regards,
Joel Rosdahl <[EMAIL PROTECTED]>
Key BB845E97; fingerprint 9F4B D780 6EF4 5700 778D  8B22 0064 F9FF BB84 5E97



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to