-
Bug
-
Resolution: Fixed
-
P3
-
11, 13
-
b04
-
generic
-
generic
-
Verified
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.
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.
- csr for
-
JDK-8217097 Correct UnicodeDecoder U+FFFE handling
- Closed
- relates to
-
JDK-8150449 "A 'reversed byte-order mark' cannot occur within middle of stream" is not correct
- Closed