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

ISO2022JP and GB18030 NIO converter issues

XMLWordPrintable

    • b19
    • generic
    • Verified

        ISO2022JP decoder and GB18030 decoder (for decodeBufferLoop()) have code range definition issues.

        ISO2022JP, 0x1B, 0x28, 0x49, 0x60, 0x1B, 0x28, 0x42, is converted to \uFFA0
        ISO2022JP is for Japanese, but \uFFA0 is a part of Hangul character.

        GB18030, \uFFFE is converted to 0x84, 0x31, 0xA4, 0x38.
        0x84, 0x31, 0xA4, 0x38 is converted to replacement character \uFFFD.

              itakiguchi Ichiroh Takiguchi
              itakiguchi Ichiroh Takiguchi
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: