Problem Description: cmd command line, unable to display Chinese
Workaround:
modifying character sets
1. go to cmd, execute command:chcp 65001
2. Modify the window properties, change the font, modify the font to true the type font "Lucida Console
3. If you want to display Chinese in redis-cli , to follow the --rawcommand, the command example is as follows:
Redis-cli.exe-h 192.168.x.x-p 6379--raw
--raw display Chinese instead of "\xd6\xd0"
The above operation does not completely solve the problem, because the content displayed may not be complete. You can minimize the window and then maximize the command-line window, and the contents of the file will be fully displayed.
Report:
Also available are some references to CHCP commands:
CHCP65001 is replaced by UTF-8 code page
chcp936 can switch back to the default GBK
CHCP437 is American English
This article is from the "Small New study Blog" blog, please be sure to keep this source http://zijianhui.blog.51cto.com/4776118/1761638
Windows cmd command line displays UTF8 character settings