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.