Switch between Chinese and English in CMD interface

If our CMD interface is in English and we want to switch to Chinese, we can use the following command.

Enter in the CMD command window: chcp 936   (there is a space between letters and numbers)

The picture is as follows:

 Through the above line of command, you can change the CMD English interface into a Chinese interface.

At this time, we can right-click on the CMD title bar and select Properties to open the CMD Properties dialog box. The current code page is displayed in Simplified Chinese, and then press the OK button.

 

If our CMD interface is in Chinese and we want to switch to English, we can use the following command.

 Enter in the CMD command window: chcp 437  (there is a space between letters and numbers)

The picture is as follows:

 Through the above line of command, you can change the CMD Chinese interface into an English interface.

At this time, we can right-click on the CMD title bar and select Properties to open the CMD Properties dialog box. The current code page is displayed as OEM (the abbreviation in English), and then press the OK button.

 

 Explanation: CHCP is a computer command that displays or sets the active code page number

 

 

Guess you like

Origin blog.csdn.net/weixin_51287014/article/details/132381466