convert sqlite ANSI to UTF-8

Mike Driscoll kyosohma at gmail.com
Wed Jun 11 11:29:40 EDT 2008


On Jun 11, 10:04 am, Gandalf <goldn... at gmail.com> wrote:
> I used sqliteadmin to manage my sqlite database and I copy past
> queries translated from mysql phpmyadmin output it worked (little
> slowly but worked...), the only problem now is that sqliteadmin stored
> my hebrew char as ANSI instead of UTF-8 and now I don't know how to
> search data from this table.
>
> How can I convert my database string from ANSI to UTF-8
>
> Thanks!

You'll want to look at how to do encoding. Google is amazing! See what
it provided me:

http://docs.python.org/tut/node5.html#SECTION005130000000000000000
http://www.diveintopython.org/xml_processing/unicode.html
http://evanjones.ca/python-utf8.html
http://www.reportlab.com/i18n/python_unicode_tutorial.html

Mike



More information about the Python-list mailing list