LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Suse Linux 10.0 Java: default charset (https://www.linuxquestions.org/questions/suse-opensuse-60/suse-linux-10-0-java-default-charset-394412/)

tirla 12-19-2005 05:37 AM

Suse Linux 10.0 Java: default charset
 
Hi,
I've installed Linux 10.0 with tomcat and java.
All is working just fine, except a little problem, for which I can't find a solution:
I've set RC_LANG to de_DE@euro, but java uses ASCII instead of ISO8859-15 for my web-applications, so my german umlaute (,,) are displayed as questionmarks.
I've tried different versions of java, so it's no java version problem.
I hadn't got this problem under Suse Linux 9.2 and .3.

Where comes this ASCII from and where can I change it??

tirla 12-21-2005 04:53 AM

Hello,
I've found the solution :)
My locales didn't apply to the user tomcat, who's running my tomcat5.
tomcats language was set zu en_US, therefore the ASCII.
Another way to get around the problem would be, to update to java 1.5.0.3 and set
-Dfile.encoding in /usr/share/tomcat/bin/catalina.sh
(java 1.4.2 has a problem with Dfile.encoding)


All times are GMT -5. The time now is 06:17 PM.