This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/13852] New: gcj - incorrect Locale on win32
- From: "ovid at mailandnews dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jan 2004 03:27:05 -0000
- Subject: [Bug java/13852] New: gcj - incorrect Locale on win32
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
System.out.println(Locale.getDefault());
Or:
import java.util.ResourceBundle;
import java.util.Locale;
public class Bundle {
public static void main(String[] argv) {
System.out.println(Locale.getDefault());
ResourceBundle bundle = ResourceBundle.getBundle("test");
System.out.println(bundle.getString("one"));
}
}
// Change local (Control Panel->Regional Settings->Finnish)
// create files:
// test.properties:
// one = one
//
// test_fi_FI.properties:
// one = oneFI
//
// Results:
// gcj:
// en_US
// one
//
// java Bundle
// fi_FI
// oneFI
--
Summary: gcj - incorrect Locale on win32
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ovid at mailandnews dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13852