Re: character encoding of jsp output in Tomcat 5.24 JRE 1.4.2_04
jvm.dll 2004-06-02 - By Stephen Souness
Back After comparing the system properties output by a dump from a JSP page (source below), I noticed a difference between the file.encoding properties.
Using the service configuration tool I was able to add the following to the JVM's configuration options:
file.encoding=ISO-8859 (See http://ISO-8859.ora-code.com)-1
Eureka!
systemProperties.jsp <%@ page import="java.util.*" %> <% Properties systemProperties = System.getProperties(); Enumeration enum = systemProperties.propertyNames();
while (enum.hasMoreElements()) { String key = (String) enum.nextElement(); out.print(key + " = " + systemProperties.getProperty(key) + "<br>"); } %>
Stephen Souness wrote:
> Hi, > > Does anyone have any hints as to why Tomcat would replace some > characters with a question mark when being run inside the JVM dll on > Windows, yet display the same characters correctly when run with java.exe ?
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)
|
|