-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DOCSP-23996 Add enableUtf8Validation Connectionstring Option (#576)
* DOCSP-23996 Add enableUtf8Validation Connectionstring Option * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Apply suggestions from code review Co-authored-by: Sarah Olson <[email protected]> * * --------- Co-authored-by: Sarah Olson <[email protected]>
- Loading branch information
1 parent
6d7244d
commit e8eaace
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
If you attempt to query or export data with invalid UTF8 characters | ||
the following error message displays: | ||
|
||
.. code-block:: none | ||
:copyable: false | ||
Invalid UTF-8 string in BSON document. | ||
To query or export this data, disable UTF8 validation by setting | ||
the ``enableUtf8Validation`` URI option to ``false``. | ||
|
||
.. warning:: | ||
|
||
**Editing data** with ``enableUtf8Validation=false`` can result in | ||
loss of data. This approach is a temporary workaround to | ||
query or export data only. | ||
|
||
The following URI disables UTF8 validation: | ||
|
||
.. code-block:: javascript | ||
mongodb://localhost:27017/?enableUtf8Validation=false | ||
.. note:: | ||
|
||
You can also disable this option in the | ||
:ref:`Advanced Connection Options <advanced-connection-tab>` by | ||
selecting :guilabel:`enableUtf8Validation` and entering | ||
``false``. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters