Command Window modified code, CMD code modification method

Source: Internet
Author: User

The encoding in CMD is ANSI and garbled if Chinese is not this encoding method. As a programmer, will often use the command window to view the execution log, but sometimes the encoding format is not correct, most of them are UTF8, in the online search for a lot of methods, a lot of useless, here to teach a specific method, you can change the Command window encoding mode to UTF8, then follow the steps to operate

The first step, open the command window cmd

The second step, modify the encoding method, input chcp 65001

The third step, the mouse in the command window in the title section of the right-click, in the Popup right-click menu above Select "Properties", in the new pop-up window select the "Font" tab, and then in the following font select "Lucida Console" This font, now try again, it should be no problem

Command Window modified code, CMD code modification method

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.