Re: MySQLdb not playing nice with unicode

2013-03-30 Thread Roy Smith
In article , Roy Smith wrote: > My unicode-fu is a bit weak. Are we looking at a Python problem, a > MySQLdb problem, or a problem with the underlying MySQL server? We've > certainly inserted utf-8 data before without any problems. It's > possible this is the first time we've tried to hand

MySQLdb not playing nice with unicode

2013-03-30 Thread Roy Smith
5.1.63-log MySQL Community Server (GPL) Python 2.7.3 MySQL-python==1.2.3 I've got a table: CREATE TABLE `songza_temp` ( `s` varchar(1000) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; When I run this code: db = MySQLdb.connect(host=db_host,