Unicode Question
David Pratt
fairwinds at eastlink.ca
Mon Jan 9 23:49:09 EST 2006
Hi Martin. Many thanks for your reply. What I am reall after, the
following accomplishes.
>
> If you are looking for "at the same time", perhaps this is also
> interesting:
>
> py> unicode('\xbe', 'windows-1252').encode('utf-8')
> '\xc2\xbe'
>
Your answer really helped quite a bit to clarify this for me. I am using
sqlite3 so it is very happy to have utf-8 encoded unicode.
The examples you provided were the additional help I needed. Thank you.
Regards,
David
More information about the Python-list
mailing list