Tips for eliminating Chinese Character garbled characters in Windows

Source: Internet
Author: User

We often encounter garbled Chinese characters when operating the computer. For example, when we open the "WordPad", the text in it is messy, with Chinese and English characters and garbled characters. When we play games, the menu is also garbled, it makes you feel overwhelmed; as for email Garbled text, it is more common and you may have encountered it.
 
 
To eliminate these garbled characters, you can take the following measures:
I. Eliminate garbled characters in Windows

If the font configuration in the Windows registry is abnormal, the system may be garbled, such as garbled characters on Windows desktops, menus, and dialogs, the "WordPad" and Chinese application software interfaces and menus are garbled. To deal with such garbled characters, you cannot use internal code translation software (such as Antarctic star and MagicWin98). We recommend that you use the following two methods to eliminate them:

1. Import the Registry

Find a computer without garbled characters (the Windows version on the computer must be the same as that on the computer without garbled characters), click "start"/run on the computer without garbled characters, and type REGEDIT to open the registry; locate HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlFontAssoc at the Project on the system font, click "Export" under the "file" menu, and select "branch" for the export range (figure 1 ), export the registry information of this branch to a file (for example, LI. REG;


Figure 1

Next, set LI. the REG file is copied to the garbled computer, and then open the Registry on the garbled computer, select "file"/"import", and set LI. import the REG file to the registry, and restart the computer.

2. manually repair the Registry

If you cannot find a computer without Garbled text, you can manually restore the registry of the computer without Garbled text. You only need to restore some registry keys in the font. The procedure is as follows:

On the computer with garbled characters, click "start"/run, type REGEDIT to open the registry, and locate HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlFontAssoc. Under normal circumstances, two directories, Associated Charset and Associated DefaultFonts, will appear, the content in the two directories in the table below will be incomplete, some will not have the Associated Charset directory, or the content is incomplete; some will have incomplete content in the Associated DefaultFonts. You only need to check the two directories in the following table and recover the registry based on the correct data in the table.

Associated Charset directory Associated DefaultFonts directory
Chinese: WinXP or Win2K
The following content is correct:
ANSI00) = "yes"
OEM (SYMBOL (02) = "no"
AssocSystemFont = "simsun. ttf"
FontPackage = ""
FontPackageDecorative = ""
FontPackageDontcare = ""
FontPackageModern = ""
FontPackageRoman = ""
FontPackageScript = ""
FontPackageSwiss = ""
Chinese Win98
The following content is correct:
ANSI (00) = "yes"
GB2312 (86) = "yes"
DEN (FF) = "yes"
SYMBOL (02) = "no"
AssocSystemFont = "simsun. ttf"
FontPackageDecorative = ""
FontPackageDontcare = ""
FontPackageModern = ""
FontPackageRoman = ""
FontPackageScript = ""
FontPackageSwiss = ""

2. Eliminate app (including game) garbled characters

When you run some Chinese software, if garbled characters appear on the display interfaces such as menus, You can't eliminate them using the above methods, this may be because the Chinese Link Library of the software is overwritten by the English Link Library. Such garbled characters often occur in Chinese software developed using Microsoft development tools (such as VB and VC.

Because the Chinese characters on the display interface such as menus and menus you develop are controlled by a dynamic link library (DLL file), which is usually installed in the WindowsSystem directory, if you install an English software and use a dynamic link library of the same name, the dynamic link library of the English software will overwrite the original dynamic link library of Chinese, when running the Chinese software, the dynamic link library in English is called, so garbled characters appear. Solution: reinstall the Chinese software and restore the dynamic link library.

If the above method does not help, it means that the software uses the internal code and the system language encoding is inconsistent, for Win9X/ME system, just install MagicWin98 (http://act.it.sohu.com/download/show.php? Soft = 3196), Antarctic star and other internal code conversion software, you can eliminate garbled; For WinXP system, it is recommended that you use Microsoft multi-language support tool MicrosoftAppLocale (http://act.it.sohu.com/download/show.php? Soft = 12313), use it to set the corresponding language region for the specified program, so that you can simultaneously execute simplified, traditional, and Japanese software will not conflict.

  3. Eliminate garbled characters on the webpage

If garbled characters appear on the webpage, it may be caused by incorrect identification of webpage languages by browsers (such as IE. For example, if it is a Chinese Web page, IE chooses the "European language" encoding, so garbled code appears on the web page. The solution is:

In IE, click "encoding" under the "View" menu and select "simplified Chinese (GB2312)" (Figure 2) or other simplified Chinese characters. If it is a traditional Chinese webpage, change to "Traditional Chinese (BIG5)". If it is in another language, select the encoding option under the "other" menu.

 


Figure 2

  4. Eliminate garbled characters in the connected Access File

Because of the large capacity of free home pages in foreign countries and the support for ASP, many friends use this type of home page space. However, ASP servers in foreign countries generally do not support Chinese databases, therefore, if there is a link on your webpage pointing to an Access database file, When you click this link to open the Access file, the Chinese content in the file will be garbled.

To eliminate this Garbled text, you can add the following sentence to the file that links the data:

<% @ Language = "vbscript" codepage = "936" %>

<% @ Language = "vbscript" codepage = "936" %>

If garbled characters cannot be eliminated, change your database version to Access97, so that ASP servers outside China can support Chinese databases and eliminate garbled characters.

  5. Eliminate email garbled characters

If the EMAIL software you use (such as OUTLOOK and Foxmail) cannot identify the encoding method used by the emails after receiving the emails from the recipient, it cannot be automatically decoded, in this way, the email is garbled.

Solution: In Outlook2003/XP, you can select "encoding" under the "View" menu. Then, all Chinese character encoding standards will appear in the menu. You can choose one, click Select in sequence until the email body is correctly displayed. In Foxmail, you can click "View"/encoding in the menu. The operation is similar.

If the recipient uses a non-Chinese Windows, you need to send a Chinese email to the recipient, hoping that the recipient can see the Chinese text you have written, rather than garbled characters. You can do this: Write a Chinese email using a paint brush or other drawing software, enter text in the image, set the attribute to the black/white mode (to reduce the image size), save it in GIF format, and compress it into ZIP format using WINZIP, the email is sent as an attachment, so that no garbled characters will appear in the recipient's language platform.


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.