title: mod_jk utf-8 character set setup
body: <p>I am running httpd + mod_jk + 2 tomcat servers in Ubuntu. When I submit a form in a non-Latin language I get garbage in the DB.
  If I submit the same form through Tomcat directly bypassing httpd everything looks good.
  following is my configuration:</p>
  
  <p>/etc/apache2/conf.d/charset:</p>
  
  <blockquote>
    <p>AddDefaultCharset UTF-8</p>
  </blockquote>
  
  <p>tomcat1:</p>
  
  <blockquote>
    <p>&lt; Connector port="8080" protocol="AJP/1.3" connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8" /></p>
  </blockquote>
  
  <p>tomcat2:</p>
  
  <blockquote>
    <p>&lt; Connector port="9080" protocol="AJP/1.3" connectionTimeout="20000" redirectPort="9443" URIEncoding="UTF-8" /></p>
  </blockquote>
  
  <p>JDBC connection:</p>
  
  <blockquote>
    <p>jdbc:mysql://localhost:3306/myapp?useEncoding=true&amp;characterEncoding=UTF-8</p>
  </blockquote>
  
  <p>/etc/apache2/mods-available/jk.conf (the same file I set up my loadbalancer)</p>
  
  <blockquote>
    <p>JkOptions +ForwardURICompatUnparsed</p>
  </blockquote>
  
  <p>Am I missing something?
  Thank You!</p>