Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 mongodb 的新手。我需要在我的数据库中以 utf8 编码存储一些数据。当我将它们导出或查看到控制台时,它们无法正确显示。我可以将我的数据库设置为 utf8 字符集来解决这个问题吗?如果是,我该怎么做?
BSON只能编码在UTF-8. 如果您的问题与导出和控制台有关,您可能没有UTF-8在将数据上传到mongodb.
BSON
UTF-8
mongodb