tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Troeger <tstro...@gmx.de>
Subject -Dfile.encoding and tomcat-3.3.1a question.
Date Wed, 05 Nov 2003 15:12:54 GMT
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.security.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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message