Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4031804

name of "french" locale wrong

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.1
    • core-libs
    • None
    • x86
    • solaris_2.5.1

      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$

            bcbeck Brian Beck (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: