Hi Ken, thank you for your quick answer!
To make sure that there occurs no mistakes at my application's side, I send my requests with the form that is available at solr/admin/form.jsp I changed almost nothing from the example-configurations within the example-package except some auto-commit params. All the special-characters within the results were displayed correctly, and so far they were also indexed correctly. The only problem is querying with special-characters. I can confirm that the page is encoded in UTF-8 within my browser. Is there a possibility that Tomcat did not use the UTF-8 URIEncoding? Maybe I should say that Tomcat is behind an Apache HttpdServer and is mounted by a jk_mount. Thank you! Ken Stanley wrote: > > On Sun, Nov 7, 2010 at 9:11 AM, Em <mailformailingli...@yahoo.de> wrote: > >> >> Hi List, >> >> I got an issue with my Solr-environment in Tomcat. >> First: I am not very familiar with Tomcat, so it might be my fault and >> not >> Solr's. >> >> It can not be a solr-side configuration problem, since everything worked >> fine with my local Jetty-servlet container. >> >> However, when I deploy into Tomcat, several special characters were shown >> in >> their utf-8 representation. >> >> Example: >> göteburg will be displayed as <str name="q">göteburg</str> when it comes >> to >> search. >> >> I tried the following within my server.xml-file >> >> <Connector port="8080" protocol="HTTP/1.1" >> connectionTimeout="20000" >> redirectPort="8443" >> URIEncoding="UTF-8" /> >> >> And restarted Tomcat afterwards. >> >> The problem only occurs when I try to search for something. >> It is no problem to index that data. >> >> Thank you for any help! >> >> Regards, >> Em >> -- >> View this message in context: >> http://lucene.472066.n3.nabble.com/Tomcat-special-character-problem-tp1857648p1857648.html >> Sent from the Solr - User mailing list archive at Nabble.com. >> > > That is definitely odd. When I tried copying "göteburg" and doing a manual > query in my web browser, everything worked. How are you making the request > to SOLR? When I viewed the properties/info of the results, my returned > charset was in UTF-8. Can you confirm similar for you? > > When I grepped for "UTF-8" in both my SOLR and Tomcat configs, nothing > stood > out as a special configuration option. > > -- View this message in context: http://lucene.472066.n3.nabble.com/Tomcat-special-character-problem-tp1857648p1857729.html Sent from the Solr - User mailing list archive at Nabble.com.