[sqlalchemy] Re: Non UTF8 strings retreived via mapped class - 0.5beta3

2008-08-21 Thread William Temperley
It looks pretty clear that this is a Django error. It's calling str(s) which will fail for a unicode object which contains multibyte characters, which would be the case for a UTF-8 encoded string converted to unicode by SQLAlchemy.. It clearly isn't a Django error! Python Shell:

[sqlalchemy] Re: Non UTF8 strings retreived via mapped class - 0.5beta3

2008-08-20 Thread William Temperley
On Wed, Aug 20, 2008 at 6:34 PM, Michael Bayer [EMAIL PROTECTED] wrote: On Aug 20, 2008, at 12:51 PM, Will Temperley wrote: Hi I'm having some trouble with a UTF8 DB and strings not being converted. I get the following: 'ascii' codec can't encode character u'\xe2' in position 142: