On Jun 13, 2007, at 11:37 AM, vanderkerkoff wrote:


Hello everyone

I'm running solr1.1 and Jetty, I'm having problems looping through a mysql
database with python and putting the data into the solr index.

Here's the error

UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 369:
ordinal not in range(128)


Post the line of code this is breaking on. Are you pulling the data from mysql as utf8? Are you setting the encoding of Mysqldb?

Solr has no problems with proper utf8 and you don't need to do anything special to get it to work. Check out the newer solr.py in JIRA.


Reply via email to