Encoding settings:
Global encoding settings: toolbar --> window --> preferences --> General --> workspace --> text file encoding to set the appropriate encoding.
Local encoding settings: Right-click the source code and choose --> General --> editors --> test editors --> spelling --> encoding. Here we set the encoding of a single file.
We recommend that you use global encoding settings.
Myeclipse encoding settings:
Windows à preferences à myeclipse (Enterprise Workbench)
Files and editors à JSP à right encoding-> (UTF-8) --> Update
File default encoding settings:
Window-> preference, General-> content types on the left, open text in the box above the right, and select Java source file (you can see the box below has *. java on the right), and then in the "Default edcodng" text box below input "UTF-8", click "Update", it is OK. (The encoding of any file can be set here !)
Other edit-setencoding and project-properties-resource-text file encoding settings can be inherited from the container.