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 fo

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 title=

RE: solr.py problems with german "Umlaute"

2007-09-06 Thread Lance Norskog
iginal Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Christian Klinger Sent: Thursday, September 06, 2007 2:55 AM To: solr-user@lucene.apache.org Subject: solr.py problems with german "Umlaute" Hi all, i try to add/update documents with the python solr.py api. Everythi

Re: solr.py problems with german "Umlaute"

2007-09-06 Thread Brian Carmalt
Hallo Christian, Try it with title.encode('utf-8'). As in: kw = {'id':'12','title':title.encode('utf-8'),'system':'plone','url':'http://www.google.de'} Christian Klinger schrieb: Hi all, i try to add/update documents with the python solr.py api. Everything works fine so far but if i try to

solr.py problems with german "Umlaute"

2007-09-06 Thread Christian Klinger
Hi all, i try to add/update documents with the python solr.py api. Everything works fine so far but if i try to add a documents which contain German Umlaute (ö,ä,ü, ...) i got errors. Maybe someone has an idea how i could convert my data? Should i post this to JIRA? Thanks for help. Btw: I ha