> Should I be using UnicodeCol() instead of StringCol()?
>
> And I'm not certain I understand the SQLObject docs on the matter.  If I
> understand correctly, SQLObject will then handle encoding and decoding
> the data going in and out of the database properly, but it is still my
> responsibility to see that parameters to queries are utf-8 encoded. Is
> that right?  Is there more I need to do to handle utf-8 correctly?
I changed StringCol to UnicodeCol and it works fine.
I also specified my iso8859-2 encoding in the templates/python scripts (
# -*- coding: iso8859-2 -*-. and <?xml ...)

Everything looks ok. I must use unicode in python when working with
SqlObject static python text and templates use iso and are converted
to UTF8.

Thx for all the info.
--
Lazy

Reply via email to