Re: sqlite3 decode error

2005-11-08 Thread David Pratt
Hi Jean-Paul for some really good advice. I'll take a look at the project to see how this is handled. I was not aware of your wrapper project for SQLite - so this is something new to look at too. I have worked with SQLObject and also Django's db wrappers. In fact this question has come out o

Re: sqlite3 decode error

2005-11-08 Thread Jean-Paul Calderone
On Tue, 08 Nov 2005 16:27:25 -0400, David Pratt <[EMAIL PROTECTED]> wrote: >Recently I have run into an issue with sqlite where I encode strings >going into sqlite3 as utf-8. I guess by default sqlite3 is converting >this to unicode since when I try to decode I get an attribute error >like this: >

sqlite3 decode error

2005-11-08 Thread David Pratt
Recently I have run into an issue with sqlite where I encode strings going into sqlite3 as utf-8. I guess by default sqlite3 is converting this to unicode since when I try to decode I get an attribute error like this: AttributeError: 'unicode' object has no attribute 'decode' The code and dat