In Windows, how to use the CMD command-line window to correctly display text encoded in UTF-8 format

Source: Internet
Author: User
In Windows, how do I use the CMD command-line window to correctly display text encoded in UTF-8 format? The correct steps are as follows: 1, open cmd Command Line window 2, enter command >chcp 65001 number 65001 represents the encoding of the utf-8 format in the cmd window. The CMD window is encoded as GBK by default, the number code is 936D:\>CHCP 65001Active codes page:650013, right click in the cmd window title bar, bring up the right menu, click Properties-"Font, change the font to Lucida Console, OK, the Utf-8 encoded font can be displayed correctly. If you want to return to GBK, just follow the steps above to reverse the operation. Source: In Windows, how to use the CMD command-line window to correctly display text encoded in UTF-8 format

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.