Re: [pysqlite] Strings coming back as Unicode.
Roger Binns <[email protected]> Mon, 24 Nov 2008 01:32:29 -0800
| Newsgroups | gmane.comp.python.db.pysqlite.user |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Harish Vishwanath wrote: > strings, or it could be the XML RPC, I am not sure at this point. XML-RPC strings are Unicode, although you can try really really hard to subvert that. Also I failed to mention that SQLite only does strings as Unicode. Again you have to try quite hard to subvert that as you noticed :-) My advice would be to use Unicode everywhere and only dumb down to old school strings where the components don't support Unicode. You will then need to do codeset conversion at that boundary and may be able to use UTF8 as the codeset. Roger -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkkqdKkACgkQmOOfHg372QSUWQCfZHobY63R5FUjy4v+8MYK2mmc 6bcAn3TzCCz1KSYUI4yX39h0uD8xPZOg =MkI/ -----END PGP SIGNATURE-----