Windows cmd command line displays UTF8 character settings

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.