Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Jena 4.1.0
-
None
Description
IO.asUTF8 uses an unmodified CharsetDecoder created from StandardCharsets.UTF_8 passed to JDK InputStreamReader. It has "unmappable" set to REPORT.
But if InputStreamReader is passed the charset, it creates then modifies to get a CharsetDecoder with unmappable set to "REPLACE" (i.e. use U+FFFD, the unicode "unmappable" character.)
Change the behaviour to be "REPLACE".
Attachments
Issue Links
- is depended upon by
-
JENA-2120 Generate warning for raw character U+FFFD
- Closed