Problem
Open the editor, Chinese characters are garbled.
There are two main types of situations:
① "Chen ュ by Juan 婃 Tide" garbled
② "Ρ" garbled reason
Garbled is the result of different encoding methods. For example, upload SVN Code Editor encoding method for GBK, download svn code Editor encoding method is UTF-8, the second kind of garbled is generated.
The first garbled result is because: UTF-8 encoded Chinese characters, to GBK to decode the display. How to solve
Select the garbled part and right-click on the->properties->resource->text file Encoding->other
Toggles the encoding method.
After the normal display, copy, and then select the encoding method, paste, store. can be modified. What is the difference between GBK and UTF8. ①utf-8
The encoding format is powerful and supports all national languages. It is because of its strong, will lead to it occupies more space than GBK, for the site opening speed, there is a certain impact. ②GBK
Less function, limited to Chinese characters, of course, the amount of space it occupies will decrease with its function, and the speed of opening the Web page is relatively fast. Other questions ① Hybrid app, Web page open is garbled.
First of all, to see if the page code is garbled, if so, switch the encoding method as described above can be resolved.
If the page code is not garbled, check the encoding of the page code: Text file encoding in the encoding and
The charset settings in the Web page are consistent (see below).
<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 ">