Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 54850 invoked from network); 8 Sep 2004 09:46:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 8 Sep 2004 09:46:47 -0000 Received: (qmail 79702 invoked by uid 500); 8 Sep 2004 09:46:10 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 79650 invoked by uid 500); 8 Sep 2004 09:46:09 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 79596 invoked by uid 99); 8 Sep 2004 09:46:08 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [195.172.82.234] (HELO mail3.qas.com) (195.172.82.234) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 08 Sep 2004 02:46:07 -0700 Received: from orion.qas.com (orion.qas.com [150.150.100.34]) by mail3.qas.com (Content Technologies SMTPRS 4.3.12) with ESMTP id ; Wed, 8 Sep 2004 10:46:01 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Setting JVM ==> file.encoding = Cp1252 Date: Wed, 8 Sep 2004 10:46:00 +0100 Message-ID: <5684A7E6FB10504393A2806C1F4C021003B0E1E2@orion.qas.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Setting JVM ==> file.encoding = Cp1252 Thread-Index: AcSViBFhbnqqYl+IS8OQii4K9pf5/gAADZBQ From: "Allistair Crossley" To: "Tomcat Users List" , X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Ben, file.encoding is a JVM parameter specified e.g java -Dfile.encoding=3DCp1252 SomeClass There is no need to set this in server.xml when you can do this in the star= tup 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 =3D=3D> file.encoding =3D Cp1252 >=20 >=20 > Dear list, >=20 > I am new to Java and to TC. When I write all the java.system=20 > properties > to the logfile on my windows machine, I see I am using >=20 > file.encoding =3D Cp1252 >=20 > on my linux machine this is >=20 > file.encoding =3D iso-8859-15 >=20 >=20 > I know I can configure this jvm paramter in the=20 > catalina.bat/sh file, but > is there a way of doing this inside the server.xml or something ? >=20 > regards, >=20 > Ben >=20 >=20 > +-------------------------------------------------------------------+ > | GIStec GmbH - Ihr Partner f=FCr GIS - Technologie | > | | > | Ben Bookey | > | Ben.Bookey@gistec-online.de Fraunhoferstra=DFe 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 | > +-------------------------------------------------------------------+ >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org >=20 >=20 =20 ------------------------------------------------------- QAS Ltd. Developers of QuickAddress Software www.qas.com Registered in England: No 2582055 Registered in Australia: No 082 851 474 ------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org