tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <>
Subject Re: Character encoding
Date Thu, 14 Dec 2006 01:14:58 GMT
Mester József wrote:
> Hi 
> I have some problem with character encoding. I have found a page (
) and on this page there is a direction:
> 2.
> In the Catalina.bat (windows) (linux) there must be a switch added to the
call to java.exe.  The
>  switch is:
> -Dfile.encoding=UTF-8

This is unlikely to help you and may be read-only on your JVM.

You don't say what doesn't work but generally the following is required:
set URIEncoding="UTF-8" on the connector
set the the correct response encoding on every response (you can do
this per page or use a filter to do this for all pages)

If you use a database make sure that you persist your data in the
correct encoding.

If you convert from bytes to characters or characters to bytes makde
sure you use the correct encoding.



To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message