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

Correct UnicodeDecoder U+FFFE handling

    XMLWordPrintable

Details

    • b04
    • generic
    • generic
    • Verified

    Description

      Discussion thread: https://mail.openjdk.java.net/pipermail/core-libs-dev/2018-December/057639.html

      Currently UnicodeDecoder deals with U+FFFE in the middle of a string as "malformed" as it is a non-character. This has been correct up until Unicode 7. However Unicode 7 includes the corrigendum (http://www.unicode.org/versions/corrigendum9.html) that changed the definition of non-characters. UnicodeDecoder's behavior should be modified to conform to it.

      Attachments

        Issue Links

          Activity

            People

              naoto Naoto Sato
              naoto Naoto Sato
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: