Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to solve the problem of Chinese display in windows redis-cli

Shulou Source: shulou.com Published: 2022-06-01 06:52:24 09月26日 Update

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.

Tags: Chinese content question coding utf-8 garbled beginning more knowledge articles Industry Information Information Channel binary Channel enter one support related Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei macOS Microsoft Shulou Information NVidia