-
Type: Improvement
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: BSON
-
None
Currently the driver calls java.lang.String#String(byte[], int, int, java.lang.String) to decode UTF-8 byte arrays, but this method silently replaces invalid UTF-8 byte sequences with a replacement character.
The driver should instead use CharsetDecoder directly so that an exception can be thrown instead.
- related to
-
PYTHON-721 BSON Errors with invalid utf8 strings.
- Closed
-
CSHARP-694 Provide some way for the C# driver to be more lenient about UTF8 validity
- Closed