How to solve the problem of Chinese display in windows redis-cli
Today, I will talk to you about how to solve the problem of windows redis-cli Chinese display, which may not be well understood by many people. in order to make you understand better, the editor has summarized the following content for you. I hope you can get something according to this article.
When using redis-cli, the hexadecimal utf-8 code that begins with\ x is displayed in Chinese.
If you need to display Chinese normally, you can execute
Redis-cli.exe-raw
After that, if it appears as garbled in Chinese, it needs to be executed in cmd first.
Chcp 65001
Set the encoding of the window to utf-8, and then re-open redis-cli, the Chinese display is normal.
After reading the above, do you have any further understanding of how to solve the problem of windows redis-cli Chinese display? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.