Am 16.11.2010 07:25, schrieb xu cheng:
hi all: I configure an app with solr to index documents and there are some Chinese content in the documents and I've configure the apache tomcat URIEncoding to be utf-8 and I use the program curl to sent the documents in xml format however , when I query the documents, all the Chinese content becomes messy code. It've cost me a lot of time.
solr handles only utf8. is the xml properly encoded in utf8? if you are under linux you can easily convert this via iconv. or detect the encoding (based on some heuristics) using enca or similar. Regards, Peter. -- http://jetwick.com twitter search prototype