Passing Unicode strings to Database
Martin v. Loewis
martin at v.loewis.de
Thu Mar 7 03:58:37 EST 2002
Mikhail Astafiev <mikle at tomsk.net> writes:
> runes is array.array('H') containing Unicode string.
>
> Database string field has "ntext" type. How can I overcome this
> problem?
I recommend to use Python 2.x, and use Unicode objects to represent
Unicode strings. For Python 1.5, if you are using the Win32
extensions, you can also try to use Mark's Unicode type.
Regards,
Martin
More information about the Python-list
mailing list