Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
Windows
-
Windows
Description
Strings composed of sequences chars in the mongo code base are presumed to be UTF-8 encoded, but the implementation of toWideString converts based on the current process code page, which in client code may not be UTF-8. The correct implementation should always convert UTF-8 to wchar_t (UTF-16 on Windows Vista and later, I believe).