Hello,

How to configure the character sets on JSP pages/HTTP replies so that
browser connecting to tomcat displays pages correctly? Currently i'm using
Tomcat-5.0.28.

I am unable to find any decent documentation on this. I have
JSP pages with character set ISO-8859-1 on disk. I reinstalled Linux
operating system. Previous installation used ISO-8859-1 character set
according to locale, new uses UTF-8. Now when browsing the site,
scandinavian characters (ä and ö) are shown as ? on mozilla.
As curiosity, dynamic text coming from database is shown correctly, static
text on JSP page is not.

There are bunch of parameters and finding the right combination does not
seem to be trivial. For example there seems to be the following
parameters, for which it is hard to find extensive documentation:

On jsp page <%page%>-directive:
contentType
pageEncoding

On web.xml (tomcat configuration)
javaEncoding

Java system properties
file.encoding


TIA!



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to