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

CharsetDecoder.charset() of x-ISO-2022-CN-CNS x-ISO-2022-CN-GB returns wrong charset

XMLWordPrintable

      CharsetDecoder.charset() of x-ISO-2022-CN-CNS x-ISI-2022-CN-GB returns charset
      ISO-2022-CN instead of ISO-2022-CN-CNS or ISO-2022-CN-GB respectively. This is
      the problem exposed by JCK testcase
      api/java_nio/charset/Charset/Methods.text.xml[Charset0048]
      as reported in #4949996, which mistakely categories it as an API bug, in fact
      this is an implementation bug in these two charsets.

            sherman Xueming Shen
            sherman Xueming Shen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: