"Go" introduces Android project in Eclipse ADT display Chinese garbled problem

Source: Internet
Author: User

(1) Modify the encoding of the workspace:
Window->preferences->general->workspace->text file Encoding
Select the encoding you want in others and save it.

(2) Modify the encoding method for individual projects:
Right-click the project and select the last item "Properties" in the popup menu.
Select Info (the first one) in the menu tree on the left side of the new window that opens, and then find the Text file encoding on the right, select "Other" and select the encoding you want in the dropdown box.

(3) Modify the encoding of a class of files:
If you want to set the JS file encoding to UTF-8, you should
Window->general->content Types
Select the JavaScript Source file in the content types, select *.js in the File associations bar, enter UTF-8 in the default encoding bar, click Update, Save.

(4) To modify the encoding of individual files: Right-click the file you want to modify, select the last Item "Properties" In the popup menu, select Info (i.e. the first one) in the menu tree on the left side of the open new window, and then find the Text file encoding, and select "Other" , select the encoding you want in the drop-down box. Similar to modifying the method of engineering coding. ...

"Go" introduces Android project in Eclipse ADT display Chinese garbled problem

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.