RE: solr.py problems with german Umlaute

2007-09-06 Thread Lance Norskog
I researched this problem before. The problem I found is that Python strings are not Unicode by default. You have to do something to make them Unicode. Here are the links I found: http://www.reportlab.com/i18n/python_unicode_tutorial.html http://evanjones.ca/python-utf8.html

Re: solr.py problems with german Umlaute

2007-09-06 Thread Yonik Seeley
On 9/6/07, Brian Carmalt [EMAIL PROTECTED] wrote: Try it with title.encode('utf-8'). As in: kw = {'id':'12','title':title.encode('utf-8'),'system':'plone','url':'http://www.google.de'} It seems like the client library should be responsible for encoding, not the user. So try changing

Re: solr.py problems with german Umlaute

2007-09-06 Thread Mike Klaas
On 6-Sep-07, at 12:13 PM, Yonik Seeley wrote: On 9/6/07, Brian Carmalt [EMAIL PROTECTED] wrote: Try it with title.encode('utf-8'). As in: kw = {'id':'12','title':title.encode ('utf-8'),'system':'plone','url':'http://www.google.de'} It seems like the client library should be responsible for