Configuring Tomcat to provide UTF-8 support for Solr

When you're setting up Tomcat to run Solr be aware that although Solr supports UTF-8 by default, Tomcat does not. You can enable the character encoding by doing the following in Tomcat's server.xml:

  • Add URIEncoding="UTF-8" to the correct Connector
  • Be sure to remove useBodyEncodingForURI from that Connector

Comments

Wim For the WIN

Like always Wim finds a solution even if it is not in his domain!!!

Thanks, this solved my

Thanks, this solved my problem!

Great!

Worked like a charm. Thanks, Wim!

Post new comment

The content of this field is kept private and will not be shown publicly.