Patch: FYI: Change default locale
Tom Tromey
tromey@redhat.com
Wed Sep 5 10:11:00 GMT 2001
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.
More information about the Java-patches
mailing list