Window -> Preferences -> Workspace, text file encoding (near bottom) has an encoding chooser. You need to deselect "default" and select "other"Open Eclipse and pick UTF-8.do the following steps:
- Window -> Preferences -> Expand General and click Workspace, text file encoding (near bottom) has an encoding chooser.
- Select "Other" radio button -> Select UTF-8 from the drop down
- Click Apply and OK button OR click simply OK button
This is the second option listed by Sajan. His other option did not work for me.