-
Notifications
You must be signed in to change notification settings - Fork 148
Closed
Labels
tracked-in-jiraTicket filed in Mongo's Jira systemTicket filed in Mongo's Jira system
Description
I'm bumping the bson version in the Mongo C driver wrapper to the latest version in thijsc/mongo-rust-driver/pull/58.
We currently decode a few responses from Mongo with lossy utf8 conversion since we found out that sometimes invalid characters kan make it into error responses. We used bson::decode_document_utf8_lossy
for this.
It looks like bson::Document::from_reader
is the replacement. I don't see a way to have it use lossy encoding. Is there a way to achieve this?
Metadata
Metadata
Assignees
Labels
tracked-in-jiraTicket filed in Mongo's Jira systemTicket filed in Mongo's Jira system