Re: UnicodeDecoder U+FFFE handling

2019-01-03 Thread Naoto Sato
Sounds reasonable. Filed the following issue: https://bugs.openjdk.java.net/browse/JDK-8216140 Naoto On 1/1/19 10:06 PM, li.ji...@oracle.com wrote: Sounds this request is reasonable since Unicode 7: do not consider the U+FFFE in the middle of stream as malformed. FAQ about private use charac

Re: UnicodeDecoder U+FFFE handling

2019-01-01 Thread li . jiang
Sounds this request is reasonable since Unicode 7: do not consider the U+FFFE in the middle of stream as malformed. FAQ about private use characters and non-characters. [1] http://www.unicode.org/faq/private_use.html Q: Are noncharacters invalid in Unicode strings and UTFs? A: Absolutely not.