I need to add unicode data to databases for an app I'm making. How can I do that using mongoDB in python?
Asked
Active
Viewed 860 times
1
-
1See this https://stackoverflow.com/questions/11747602/can-mongodb-store-and-manipulate-strings-of-utf-8-with-code-points-outside-the-b – G2 Jakhmola Apr 30 '20 at 17:54
-
1Data in MongoDB are always stored in UTF-8. So simple answer is yes, it is even not possible to store anything different than Unicode. But you have to ensure that your python is using UTF-8 properly. – Wernfried Domscheit Apr 30 '20 at 21:47