Hi all, I have a MongoDB collection where some documents may contain non-UTF-8 data. In MongoDB 6.0.1-debian-11-r1, I was able to view this data by using the option { enableUtf8Validation: false }
. However, after upgrading to MongoDB 7.0.12-debian-12-r5, I can no longer view these documents, even with the same option enabled.
I have a few questions over this,
- Has MongoDB 7.0.12-debian-12-r5 changed the way it handles UTF-8 validation?
- Is there a workaround to retrieve and view this data without corruption?
- What is the recommended way to migrate non-UTF-8 data from MongoDB 6.0.1-debian-11-r1 to MongoDB 7.0.12-debian-12-r5?
Any insights or official documentation references would be greatly appreciated. Thanks!