Help with unicode and sqlobject/pysqlite2

limodou limodou at gmail.com
Wed Sep 28 04:22:51 EDT 2005


28 Sep 2005 00:25:31 -0700, qvx <qvx3000 at gmail.com>:
> I really can't seem to make sqlobject/pysqlite2 save my local Easter
> European characters.
>
> I am a Windows-1250 user and I have sys.setdefaultencoding('dbcs') in
> my sitecustomize.
>
> How can I save data like "šdccž"?
> This is equivalent to '\x9a\xf0\xe8\xe6\x9e'
>
> I'm using the latest version of sqlobject from SVN.
>
> qvx
>

I don't know about Easter European characters, but I think you should
convert your characters into unicode first.

--
I like python!
My Donews Blog: http://www.donews.net/limodou


More information about the Python-list mailing list