SoFunction
Updated on 2025-04-14

Modify the registry to eliminate the garbled display of the application software

Text/Mingjing

Setting the application software in the registry can not only improve the application level, but also solve some difficult problems.

●Eliminate garbled display of application software:

Open the HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlFontAssocAssociated Charset subkey branch in the registry, and change the value of "SYMBOL(02)" (this is the in-computer code of Windows XP system) in the right window to "NO".

●Set font replacement in the application software:

This situation is often encountered when using word processing application software. When the edited files on one computer are taken to another computer to open, the original font changes. The reason is that the fonts installed on the two computers are different, and the system replaces the fonts that are not installed on the machine in the file with the already installed fonts. If the specified replacement font is a font that is not similar to the original font, the text will appear confusion and unrecognizable words will appear. To avoid these problems, such replacement can be made by the registry. Open HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionFontSubstitutes subkey branch, you can see that in the window on the right, the key value name of some key value items is one font name, and the value is another font name. This means that when a font with a key-value item name appears in the system, it uses the font in the numeric value to replace it. If you want to change the replaced font, double-click the key value item and change the value to the font name you want in the dialog box that pops up. Note, however, that the font used to replace must be the font that exists in Fonts in Control Panel, and the spaces in the middle of the font name string must be correct.

●Add runnable program suffix:

In Windows XP systems, programs with suffixes .com, .exe, .bat, .pif, and .cmd can all run. If you want to add other runnable program suffixes, such as .cgj, open HKEY_CURRENT_USERSoftwareMicrosoft Windows NTCurrentVersionWindows subkey branch in the registry editor, and add "cgj" to the Programs key value item data in the window on the right.

●Problems about converting long and short file names in application software:

Windows XP supports long file names, and naming files does not have to be restricted by DOS format. However, when using the DIR command to view the file name in the DOS window in Windows XP, if the file name exceeds 8 characters, the previous part will be automatically intercepted and a "~" and a number will be added to the back. This is for DOS compatibility, Windows XP is a short file name that is automatically generated in 8.3 format by long file names. This generation method can be changed by modifying the registry to make the generated short file name consistent with the original file name as much as possible. Open the HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlFileSystem subkey branch, create a new binary key-value item data "NameNumericTail" in the window on the right, and change its value to 00. After restarting, the file name displayed in the DOS window of Windows XP will be as close to the long file name as possible, which is easy to distinguish but never the same.

●Change font association:

In Windows XP, you will occasionally encounter the problem that the application software font cannot be displayed normally. This may be due to the incorrect font association of the application software in Windows XP. If the font has been installed normally, it may be that the font association error in the registry. Open the HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlFontAssoc subkey branch. There should be three subkeys under this subkey, Associated CharSet, Associated DefaultFonts and Associated Fonts. If Chinese character software appears garbled, the content under the Associated DefaultFonts subkey is usually incomplete. Here are all key value names and values ​​under the subkey.

The "new Song style" part can also be "Song style". In addition, some character sets are specified in the Associated CharSet. The key value is the name of the character set, and the value can be "yes" or "no". If the English software appears garbled under Chinese Windows XP. You can try changing the value of GB2312(86) to "no" and restart takes effect.

●Add the executable file path of the application:

If the program to be run is not in the specified directory, the DOS system generally uses the method of setting paths in an automatic batch file to achieve the purpose of automatically finding this program. In Windows XP, users can add application paths more secretly, rather than setting up automatic batch processing methods, which requires modifying the registry.

For example, the executable file to add the path is "F:downloadprogram filesaports14active", open the HKEY_LOCAL_MACHINESOFTWAREMicrosoft WindowsCurrentVersionApp Paths subkey branch in the registry, create a new subkey "" under it, change its default value to F:downloadprogram filesaports14active, and then create a new subkey "Path" under this subkey, change its value to "F:downloadprogram filesaports14active ports". This way, you can run the program directly by typing "" or "aports" in the Run command line.