How to Change File Encoding in Eclipse

  • by
There're two ways to change files encoding, you can change them locally or globally.

A. Change file encoding locally.

Please right-click on any folder or file in Project Explorer. Then click "Properties" on the menu.
Change "Text file encoding" as you like.

B. Change file encoding globally.

This option will apply all files in the workspace. First, click Window > Preferences
Expand General > Workspace, then change "Text file encoding" as you like.

Leave a Reply

Your email address will not be published. Required fields are marked *