Hi,

this occurs because the JVM 1.4.2 doesn´t permit to set some system
properties, especially file.encoding. I solved this problem setting the
enviroment variable LANG to pt_BR.ISO-8859-1 (in my case) in
catalina.sh.

Luiz Ricardo
----- Original Message ----- 
From: "Thomas Troeger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 05, 2003 12:12 PM
Subject: -Dfile.encoding and tomcat-3.3.1a question.


> Hello,
>
> I'm running tomcat-3.3.1a on x86-Linux. There is an issue
> regarding umlauts (like ä, ö, ß). If I use java-1.4.1:
>
> : Java version:
> : java version "1.4.1"
> : Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-b21)
> : Java HotSpot(TM) Client VM (build 1.4.1-b21, mixed mode)
>
> I can start the java interpreter by issuing
> -Dfile.enconding=iso-8859-1 as an argument in tomcat.sh (line
> 130):
>
> :
TOMCAT_OPTS="$TOMCAT_OPTS -Dfile.encoding=iso-8859-1 -Xmx1024M -Djava.se
curity.policy==${TOMCAT_HOME}/conf/tomcat.policy "
>
> Then everything works fine and tomcat can handle umlauts and encoding
> as expceted. Now if I use java-1.4.2:
>
> : java version "1.4.2_02"
> : Java(TM) 2 Runtime Environment, Standard Edition (build
1.4.2_02-b03)
> : Java HotSpot(TM) Client VM (build 1.4.2_02-b03, mixed mode)
>
> umlauts don't get handled properly and I get a lot of '?' chars
> instead. My question is: how do I call tomcat or how do I have to
> modify my servlet to get proper umlauts again? Any hint welcome,
>
> mfG,
>
> --tst.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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

Reply via email to