Mester József wrote:
> Hi 
> I have some problem with character encoding. I have found a page ( 
> http://junlu.com/msg/1132.html ) and on this page there is a direction:
> 
> 2.
> In the Catalina.bat (windows) catalina.sh (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.

HTH,

Mark

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to