http://zhidao.baidu.com/question/157276582 because the character encoding of the MongoDB background is utf-8, and the character encoding used by the Chinese Windows CMD window is GBK (Properties-"Options-" current code page), So when you use the MONGO command in CMD to query the data and display it, the Chinese will become garbled.
Use the following method to modify the cmd window encoding is UTF8 as follows, the Chinese will appear normal when querying again, but still cannot perform the Chinese insert operation, you can use the Mongovue tool to perform the Chinese insert operation:
(1) Chcp 65001
(2) Select the font in "Properties", except for "Dot Matrix font".
Redo modifying the default properties of the CMD window
Restores the current window's color to default with a color command without parameters.
Deleting a registry key Hkey_current_user\console\%systemroot%_system32_cmd.exe the properties of the window that is opened after the restore is default.
MongoDB DOS window displays Chinese