lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <yo...@apache.org>
Subject Re: solr.py problems with german "Umlaute"
Date Thu, 06 Sep 2007 19:13:48 GMT
On 9/6/07, Brian Carmalt <bca@contact.de> 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="Übersicht"
  into a unicode string via
title=u"Übersicht"

And that should hopefully get your test program working.
If it doesn't it's probably a solr.py bug and should be fixed there.

-Yonik

Mime
View raw message