Hi Max,

You might want to send this over to the sqlobject list if no one here
responds. I don't have a solution for this particular problem...

Kevin.


On 1/2/06, Max Ischenko <[EMAIL PROTECTED]> wrote:
> Traceback (most recent call last):
>   File " booklist.py", line 11, in ?
>     BookEntry(pubid='sample1xxxxx', ISBN='',
> author=u'╨С╤А╨░╤В╤М╤П')
> "C:\Python24\Lib\site-packages\SQLObject-0.7.0-py2.4.egg\sqlobject\col.py",
> line 517, in to_python
>     return unicode(value, self.db_encoding)
> UnicodeDecodeError: 'utf8' codec can't decode bytes in position 10-11:
> invalid data
>
> I'm using MySQL 4.1 and SQLObject 0.7. Database was init'ed with
> character set utf-8 and so is the data.
>
> AFAICT, it's been inserted already mangled and so an error on read is
> expected. IMO, "set names utf8" is missing.
>
>


--
Kevin Dangoor
Author of the Zesty News RSS newsreader

email: [EMAIL PROTECTED]
company: http://www.BlazingThings.com
blog: http://www.BlueSkyOnMars.com

Reply via email to