Text/Nangong Caihong
When garbled characters appear in Dreamweaver, there are roughly two situations:
First, the text used to create the homepage is not marked. In this case, it can be solved easily, just add it in the area.
The second is that you have newly installed fonts, such as Wending Cool fonts. In this case, every time you create a new web page, you have to adjust it, which is very troublesome. Well, you can solve it like this. The following is someone's experience. I collected it and can't remember the source.
Please back up the registry first and exit the running Dreamweaver (if any)
1. Run regedit.exe.
2. Find HKEY_CURRENT_USER/SOFTWARE/MACROMEDIA/DREAMWEAVER 4/FONT PREFERENCES.
Next there are 2 solutions:
Simple solution:
double-click Number Encodings, change the value b to c (change 11 in decimal to 12); exit regedit, enter Dreamweaver, now You can freely choose the font and text size of PROPOTIOANL, FIXED FONT, and CODE INSPECTOR!
The Perfect Solution:
Why the Simple Solution Isn’t Enough? That’s because only by making the above changes, you can only choose Chinese fonts, and in some cases, some English fonts will look better than Chinese fonts (for example, I choose ARIAL fonts in CODE INSPECTOR, which looks much better than Song fonts, imitation Song fonts, etc. ), and the Chinese part can also be displayed correctly.
The method is as follows:
Under HKEY_CURRENT_USER/SOFTWARE/MACROMEDIA/DREAMWEAVER 4/FONT PREFERENCES, double-click Number Encodings and change the value b to c (change 11 in decimal to 12); enter CharEncoding_11 and modify the internal value:
note that it is best to only change The following values:
Fixed Name: Font name
Fixed Size: Font size
HTML inspector font: Font name
HTML inspector font size: Font size
Proportional Name: Font name
Proportional Size: Font size
If you are not satisfied, you can also try: Fixed CharSet, Proportional CharSet and Windows Character Set were changed from 86 (134 in decimal, representing Chinese) to 00 (representing English).
For a simple solution, here is a simpler implementation method. Copy the following code, save it as a file with the suffix .reg (note that it must be plain text), and then execute the reg file, and the modification will automatically Complete (please also back up the registry first).
REGEDIT4
[HKEY_CURRENT_USERSoftwareMacromediaDreamweaver 4Font Preferences]
"Number Encodings"=dword:0000000c
"Default Encoding"=dword:00000005