Skip to content

How to Change File Encoding in Eclipse

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.

Eclipse Change File Encoding - 01

Eclipse Change File Encoding - 01

Change "Text file encoding" as you like.

Eclipse Change File Encoding - 02

Eclipse Change File Encoding - 02

B. Change file encoding globally.

This option will apply all files in the workspace. First, click Window > Preferences

Eclipse Change File Encoding - 03

Eclipse Change File Encoding - 03

Expand General > Workspace, then change "Text file encoding" as you like.

Eclipse Change File Encoding - 04

Eclipse Change File Encoding - 04

Leave a Reply

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