Chinese characters garbled in win7 DOS UTF-8

Source: Internet
Author: User


The problem of garbled characters in win7 DOS UTF-8 is also frequently encountered in the past when using command lines. It seems that I have never thought of correct it. I have seen this article on the ninth street specially added to my favorites. When executing a PHP file in dos, the output file text is UTF-8 encoded, so garbled characters are displayed,
Reset the DOS encoding. Run the following command: chcp 65001, right-click the command line title bar, and choose "attribute"> "font ", change the font to True Type Font Lucida Console, and then click OK to apply the property to the current window, the following screen appears: www.2cto.com determines that the MS-DOS provides character sets for the following countries and languages: code Page Description 1258 Vietnamese 1257 Boro 1256 Arabic 1255 Hebrew 1254 Turkish 1253 Greek 1252 Latin 1 character (ANSI) 1251 Spanish 1250 Chinese EU 950 traditional Chinese 949 Korean 936 Simplified Chinese (default) 932 Japanese 874 Thai 850 multilingual (MS-DOS Latin1) 437 MS-DOS American English
 

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.