GB18030 canEncode returns incorrect result for Surrogates

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 6
    • Affects Version/s: 5.0
    • Component/s: 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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: