You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dongsheng Song <do...@gmail.com> on 2005/07/27 08:21:44 UTC

How to configure tomcat default character encoding ?

I user Tomcat 5.0.28, the browser send server UTF-8 query string like:

QueryString: id=12&code=13&name=%E5%90%8D%E7%A7%B0

How to configure tomcat default character encoding to UTF-8 ?

Dongsheng Song

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: How to configure tomcat default character encoding ?

Posted by Mark Thomas <ma...@apache.org>.
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/http.html

You should read the documentation for the URIEncoding and 
useBodyEncodingForURI options.

Mark

Dongsheng Song wrote:
> I user Tomcat 5.0.28, the browser send server UTF-8 query string like:
> 
> QueryString: id=12&code=13&name=%E5%90%8D%E7%A7%B0
> 
> How to configure tomcat default character encoding to UTF-8 ?
> 
> Dongsheng Song
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org