SoFunction
Updated on 2025-04-14

Modify the registry and call the traditional input method

During the software development process, you sometimes need to enter the traditional Chinese text. The author's system is Windows XP and has Asian language support. Therefore, the traditional input method is included. The old-fashioned method is to add the Chinese (*) term and then select an input method from it. The operation is very troublesome. I have figured out a simple method at work, briefly described as follows.

I considered the settings of the input method and found that if I changed the registry slightly, I could add the traditional input method to the Chinese (Chinese) language item. The input method information in the registry is HKEY_LOCAL_MACHINESYSTEM/CurrentControlSet/Control/Keyboard Layouts. Many hexadecimal numeric strings can be seen. The last four digits are 0404. The traditional input method is 0804. The simplified input method is 0804. Looking at the subvalues ​​of each item, there is no difference between special terms. Therefore, some changes can be made to add the traditional input method to the 0804 series. The corresponding entry for Microsoft's new phonetic input method (New Phonetic) on my machine is E0080404, so I exported it all to a registry file, modify E0080404 in the file to E0880804, pay attention to the first four digits to avoid duplication with existing repetitions in the registry, and import the file into the registry after modification. In this way, you can add Microsoft's new pronunciation input method to the Chinese (Chinese) language item!

Microsoft's new phonetic input method can choose Chinese Pinyin keyboard and smart IME functions, and you can enter sentences like Microsoft Pinyin. You can also specify Big5 character set input.