You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Paul <pa...@msci.ca> on 2004/03/23 22:01:04 UTC

default Locale, how to set or change

how does the default Locale get set in Java 1.4 / Tomcat 4.x?

having an issue with real numbers displaying with commas instead of period for decimal separator.
currently have en_CA locale, but want en_US locale.

-paul.

Re: default Locale, how to set or change

Posted by staf wagemakers <st...@belgacom.net>.
On Tue, Mar 23, 2004 at 04:01:04PM -0500, Paul wrote:
> how does the default Locale get set in Java 1.4 / Tomcat 4.x?
> 
> having an issue with real numbers displaying with commas instead of period for decimal separator.
> currently have en_CA locale, but want en_US locale.

I usually create a setenv.sh script in the tomcat/bin directory where I
set the appropriate variables.

JAVA_HOME=/usr/j2se
JAVA_OPTS="-Xms128M -Xmx256M"
CATALINA_HOME=/home/tomcat
TOMCAT_HOME=/home/tomcat
CATALINA_OPTS=-Dfile.encoding=ISO-8859-15
LANG=en_IE@euro

-- 
Staf Wagemakers

email:		staf at patat.org
homepage:	http://staf.patat.org

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