tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allistair Crossley" <Allistair.Cross...@QAS.com>
Subject RE: Setting JVM ==> file.encoding = Cp1252
Date Wed, 08 Sep 2004 09:46:00 GMT
Ben,

file.encoding is a JVM parameter specified e.g

java -Dfile.encoding=Cp1252 SomeClass

There is no need to set this in server.xml when you can do this in the startup scripts for
TC. You could even try within Java code

System.setProperty("file.encoding", "Cp1252");

ADC

> -----Original Message-----
> From: Ben Bookey [mailto:ben.bookey@gistec-online.de]
> Sent: 08 September 2004 10:44
> To: Tomcat User List
> Subject: Setting JVM ==> file.encoding = Cp1252
> 
> 
> Dear list,
> 
> I am new to Java and to TC. When I write all the java.system 
> properties
> to the logfile on my windows machine, I see I am using
> 
> file.encoding = Cp1252
> 
> on my linux machine this is
> 
> file.encoding = iso-8859-15
> 
> 
> I know I can configure this jvm paramter in the 
> catalina.bat/sh file, but
> is there a way of doing this inside the server.xml or something ?
> 
> regards,
> 
> Ben
> 
> 
> +-------------------------------------------------------------------+
> | GIStec GmbH - Ihr Partner f├╝r GIS - Technologie                   |
> |                                                                   |
> | Ben Bookey                                                        |
> | Ben.Bookey@gistec-online.de           Fraunhoferstra├če 5          |
> | Tel         0 61 51 / 155 - 254       D-64283 Darmstadt           |
> | Fax         0 61 51 / 155 - 259       http://www.gistec-online.de |
> |                                                                   |
> | http://www.ingeoic.de              http://www.geo-watermarking.de |
> +-------------------------------------------------------------------+
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 


<FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> 
-------------------------------------------------------
QAS Ltd.
Developers of QuickAddress Software
<a href="http://www.qas.com">www.qas.com</a>
Registered in England: No 2582055
Registered in Australia: No 082 851 474
-------------------------------------------------------
</FONT>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message