"Problem solving" Eclipse editor garbled Solution

Source: Internet
Author: User
Tags svn
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 ">
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.