How to set mongodb charset to utf8? How to set mongodb charset to utf8? database database

How to set mongodb charset to utf8?


BSON can only be encoded in UTF-8. If your problem is with export and console, you probably are not converting your data to UTF-8 before uploading it to mongodb.