Specifying UTF-8 Encoding

You can specify character encoding for the following objects in Eclipse:

Files
You can specify the character encoding for individual files or for all files of a given content type.
Projects
Specifying character encoding for a project sets the default for all new files created in that project. You can set character encoding for projects individually, or for all projects created in an Eclipse workspace.
Workspaces
Specifying character encoding for a workspace sets the default for all new projects created in that workspace.

The remaining sections summarize the procedures you can use to specify UTF-8 character encoding in Eclipse. Refer to your Eclipse user documentation for additional information.