On Thu, Mar 06, 2008 at 12:37:00AM -0200, Leandro Lucarella wrote:
> Hi. I'm using MySQL and I'm getting this error:
> 
> <type 'exceptions.UnicodeDecodeError'>: 'ascii' codec can't decode byte
> 0xe1 in position 231: ordinal not in range(128)
> 
> This error comes when instancing a SQLObject wich has a PickeCol in wich a
> tuple with a unicode string with non-ASCII chars is used.
> 
> Let's say:
> 
> class X(SQLObject):
>       p = PickeCol()
> 
> x = X(p=(u'xxx', u'Permite entregar trabajos pr??cticos'))
> 
> I've tried with and without charset=UTF8 in the connection string without
> success (tables are created with InnoDB and charset UTF8).

   What is the version of SQLObjct? Can we see the entire traceback?

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            [EMAIL PROTECTED]
           Programmers don't die, they just GOSUB without RETURN.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to