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

ISO2022-CN-{CNS,GB} encoder isLegalReplacement only accepts 0x3f

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 7
    • Fix Version/s: tbd
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Understanding:
      Fix Understood
    • CPU:
      generic
    • OS:
      generic

      Description

      ISO2022-CN-CNS and ISO2022-CN-GB encoders have a isLegalReplacement method
      that returns true only for 0x3f ('?').

      It should return true for all valid byte sequences, as specified.

        Attachments

          Activity

            People

            • Assignee:
              sherman Xueming Shen
              Reporter:
              martin Martin Buchholz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Imported:
                Indexed: