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

Locale 'ru_RU.CP1251' is not supported

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • 1.4.1
    • core-libs

      Name: gm110360 Date: 10/07/2002


      FULL PRODUCT VERSION :
      [redcat@freestyler bin]$ ./java -version
      WARNING: Default charset CP1251 not supported, using ISO-8859-1 instead
      java version "1.4.1"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-b21)
      Java HotSpot(TM) Client VM (build 1.4.1-b21, mixed mode)


      FULL OPERATING SYSTEM VERSION :
      RedHat 7.3 linux

      DESCRIPTION OF THE PROBLEM :
      Runing java on Linux system with locale ru_RU.CP1251 gives a mesage: 'WARNING: Default charset CP1251 not supported, using ISO-8859-1 instead'. But encoding CP1251 is supported by java, and locale ru_RU (language Russian, country
      Russia) is supported too. Please add support for this locale:
      ru_RU.CP1251 (language Russian, country Russia).
      And by the way:
      uk_UA.CP1251 (language Ukrainian, country Ukraine).

      On jdk 1.4.0 runing java on those encodings gives
      java.lang.NullPointerException.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. 'java' or any tool from jdk


      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER WORKAROUND :
      Change system locale to ru_RU.KOI8-R.
      (Review ID: 164659)
      ======================================================================

            ilittlesunw Ian Little (Inactive)
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: