The following program outputs "frangais" (sic) instead of having char
231 (c cedilla) between the n and the second a, when you run it with
the environment variable LC_ALL set to fr.
import java.util.*;
class test
{
public static void main(String[] args)
{
Locale l = Locale.getDefault();
System.out.println("in "+l.getDisplayName());
}
}
laptop5$ javac test.java
laptop5$ env LC_ALL=fr java test
in frangais (France)
laptop5$
231 (c cedilla) between the n and the second a, when you run it with
the environment variable LC_ALL set to fr.
import java.util.*;
class test
{
public static void main(String[] args)
{
Locale l = Locale.getDefault();
System.out.println("in "+l.getDisplayName());
}
}
laptop5$ javac test.java
laptop5$ env LC_ALL=fr java test
in frangais (France)
laptop5$
- duplicates
-
JDK-4028638 DateFormat class: Italian value for Tuesday incorrect
-
- Closed
-
- relates to
-
JDK-4025962 getDisplay*() and getISO3*() methods don't work right when locale isn't en_US
-
- Closed
-