ro schrieb:
> 
> While I use sqlobject to commit UTF8 string to MySQL, this error caused
> 
>   File 
> "d:\python24\lib\site-packages\SQLObject-0.7.5-py2.4.egg\sqlobject\mysql\mysqlconnection.py",
> line 77, in _executeRetry
>     myquery = unicode(query, self.encoding)
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position
> 111: ordinal not in range(128)
> 
> Is there any option could enable utf8?

Please see this thread, I bet it will work for you, too:
http://groups.google.de/group/turbogears/browse_thread/thread/575b17462dffc1b2/3c4fbeac9ebfb06c?lnk=st&rnum=1#3c4fbeac9ebfb06c

-- Mark

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to