Solve the Problem of displaying and Inputting Chinese characters at the CMD Command Prompt

Source: Internet
Author: User

 

Cmd. EXE Command PromptProgramYou cannot enter Chinese characters, and the Chinese information is "? "Garbled, the help of the DOS command is fully in English. You cannot enter Chinese characters in the CMD command prompt to enter the folder named in Chinese and other Chinese characters.

1. The Chinese information is "? "Garbled, the help of the DOS command is all in English

The solution is to copy the following content to notepad and save it as a file with the extension ". Reg". Double-click to import the registry and restore the Chinese Character Input and display at the CMD command prompt.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER \ console \ unzip systemroot1__system32_cmd.exe]
"CodePage" = DWORD: 000003a8

Let me explain:
The hexadecimal format is "000003a8" or decimal "936", indicating "936 (ANSI/oem-Simplified Chinese GBK )".

The hexadecimal format "000001b5" or decimal "437" indicates "437 (OEM-US )".

The hexadecimal format "000003a4" or decimal "932" indicates "932 (ANSI/oem-Japanese shift-JIS )".

Hexadecimal "000003b5" or decimal "949", indicating "949 (ANSI/oem-Korean )".

Hexadecimal "000003b6" or decimal "950", indicating "ANSI/oem-Traditional Chinese big5 )".

2. You cannot use any Chinese Input Method in the CMD command line. You cannot select the input method in the CMD command line window or call up the input method by pressing the shortcut key.

Conime(conime.exe) is an input method editor that allows users to enter complex characters and symbols (including Chinese characters) on a standard keyboard ). Obviously, if you need to enter Chinese Characters in cmd, you need conime support. If you cannot enter Chinese Characters in cmd, it is likely that conime is disabled. To enter Chinese characters, we need to modify the registry. Open the registry, find the HKEY_CURRENT_USER \ console] "item, and change the value of" loadconime "to 1. open cmd again to see if you can enter Chinese. Note that many Chinese input methods are difficult to enter Chinese in cmd. You need to press Alt + shift first, and then press Ctrl + space, in this way, the input method menu can be called up.

3. You cannot use Ctrl + space to switch the input method.

Open the last second group of registries on the front of HKEY_USERS (similar to the S-1-5-21-************), the numbers in each group are different. open the group and click \ Control Panel \ Input Method \ hot keys \ 00000010. Change the key value of key modifiers on the right to "02c00000" to "Ctrl + space ", if it is "06c00000", it is "Ctrl + Shift + space". After the change, it will be normal to log out again.

 

From: http://mhqiang.blog.163.com/blog/static/25279557200723061142379/

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.