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

GB18030 canEncode returns incorrect result for Surrogates

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 5.0
    • core-libs

      a GB18030 encoder's canEncode() method incorrectly returns true for
      surrogates, contrary to CharsetEncoder's spec.

      In addition, it incorrectly returns false for 0xfffd.

      (This is a part of the fix for 5065777)

      ###@###.### 2004-06-22

            martin Martin Buchholz
            martin Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: