Archive for December, 2006

Python, MySQLdb, and UTF-8

December 31st, 2006

I just spent a lot of time trying to parse some UTF-8 xml and put parts of it into a mysql database with python.The parsing in UTF-8 I already had done, but getting MySQLdb to use UTF-8 instead of latin1 was very annoying. I did this with MySQL-python-1.2.1_p2 and MySQL 4.1.21.
The first thing […]