Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOCSP-43242: Improve UTF-8 validation documentation to clarify validation occurs on decoded data only #908

Merged
merged 12 commits into from
Oct 14, 2024
6 changes: 3 additions & 3 deletions source/fundamentals/bson/utf8-validation.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ processing overhead since it needs to check the data.
If you *disable* validation, your application avoids the validation processing
overhead, but cannot guarantee consistent presentation of invalid UTF-8 data.

The driver enables UTF-8 validation by default. It checks documents for any
characters that are not encoded in a valid UTF-8 format when it transfers data
between your application and MongoDB.
The driver enables UTF-8 validation on documents coming from MongoDB by default.
mayaraman19 marked this conversation as resolved.
Show resolved Hide resolved
It checks incoming documents for any characters that are not encoded in a
valid UTF-8 format when it transfers data from MongoDB to your application.

.. note::

Expand Down
Loading