Re: [pysqlite] Strings coming back as Unicode.
"Harish Vishwanath" <[email protected]> Mon, 24 Nov 2008 15:34:57 +0530
| Newsgroups | gmane.comp.python.db.pysqlite.user |
|---|---|
| Message-ID | <[email protected]> |
Btw, thanks for the link for that wonderful blog! :) We are also looking at internationalization in future, so Unicode makes sense. But since this is an embedded system, we need to change a lotta stuff to get to Unicode. After reading your note, I now suspect, its ZODB which cant handle Unicode. I will dig further in that direction. Thank you! On Mon, Nov 24, 2008 at 3:02 PM, Roger Binns <[email protected]> wrote: > -----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----- > _______________________________________________ > list-pysqlite mailing list > list-pysqlite-FR6EJeJVuqdwc357pe9rcyQmJico6nz3epZhswDD4dQ@public.gmane.org > http://itsystementwicklung.de/cgi-bin/mailman/listinfo/list-pysqlite > -- Regards, Harish _______________________________________________ list-pysqlite mailing list list-pysqlite-FR6EJeJVuqdwc357pe9rcyQmJico6nz3epZhswDD4dQ@public.gmane.org http://itsystementwicklung.de/cgi-bin/mailman/listinfo/list-pysqlite