[SQLObject] UTF8 problem while SQLObject vs MySQL
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: ro <ros...@gm...> - 2007-05-16 12:46:48
|
hi all 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? -- with kind regards |