[jboss-user] [JBoss Seam] - Re: Charset encoding problem in URL parameters

ryildirim do-not-reply at jboss.com
Thu Jun 14 10:05:25 EDT 2007


This is not a bug. 
The problem is with the URIEncoding. If you are using Tomcat or JBoss all you have to do is either set useBodyEncodingForURI="true" which will use your page's character encoding to encode URIs or set URIEncoding to whatever character encoding you are using for the tomcat Connector in the server.xml. 
The default encoding is ISO-8859-1 for Tomcat if not set explicitly.

 <Connector port="8080" .....
          useBodyEncodingForURI="true" ..../>


 <Connector port="8080" .....
          URIEncoding="UTF-8" ..../>

Ramazan YILDIRIM



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054383#4054383

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054383



More information about the jboss-user mailing list