-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: BSON
-
None
The bson library provides two Document decoding functions, one that allows lossy uft8 string decoding and one that does not. The difference being if a buffer containing BSON bytes has invalid utf8 strings in either the keys or values, decoding will still succeed and just put a replacement character where the invalid bytes were.
It is unclear why we provide this functionality / how it is useful to users. We should drop it prior to 1.0.