This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: FYI: Change default locale
- To: Java Patch List <java-patches at gcc dot gnu dot org>
- Subject: Patch: FYI: Change default locale
- From: Tom Tromey <tromey at redhat dot com>
- Date: 05 Sep 2001 11:23:11 -0600
- Reply-To: tromey at redhat dot com
The default locale should be `en_US', not just `en', because `en_US'
has more complete information. This only affects the fallback case
when the user doesn't have locale information in his environment.
I'm checking this in.
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
* java/lang/natSystem.cc (init_properties): Default locale is
en_US, not just en.
Index: java/lang/natSystem.cc
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/lang/natSystem.cc,v
retrieving revision 1.40
diff -u -r1.40 natSystem.cc
--- java/lang/natSystem.cc 2001/06/08 19:09:04 1.40
+++ java/lang/natSystem.cc 2001/09/05 17:04:47
@@ -441,6 +441,7 @@
#endif /* HAVE_SETLOCALE */
{
SET ("user.language", "en");
+ SET ("user.region", "US");
}
// Set the "user.timezone" property.