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-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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to