Oleg Broytmann, el  6 de marzo a las 11:36 me escribiste:
> 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?

Well I was trying in both 0.9.0 and 0.9.4. 0.9.4 seems to work OK, I just
was not creating the tables with charset UTF-8.

So, false alarm =)

-- 
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
----------------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------------
De todos los amigos que he tenido, eres el primero.
        -- Bender


-------------------------------------------------------------------------
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