(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