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

Codepages not supported: Cp1144, Cp1153, Cp1154, Cp1155, and Cp1160

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 6
    • core-libs

      FULL PRODUCT VERSION :
      C:\Program Files\Java\jre1.6.0_05\bin>java -version
      java version "1.6.0_05"
      Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
      Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows XP [Version 5.1.2600]

      A DESCRIPTION OF THE PROBLEM :
      The following line of code throws an UnsupportedEncodingException for these codepages: Cp1144, Cp1153, Cp1154, Cp1155, and Cp1160

           i = test.getBytes(codepage).length;


      REPRODUCIBILITY :
      This bug can be reproduced always.

            sherman Xueming Shen
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: