# Changing the encoding used to show the source

To change the encoding used by the Java editor to display source files:

- With the Java editor open and the file saved, select Edit > Set Encoding... from the menu bar
- Select Other and then select an encoding from the menu or type in the encoding's name.

Notes:

- This setting affects only the way the source is presented--it does not change the file's contents.
- To change the default encoding used for interpreting text files,
  - set the workspace default (Window > Preferences > General > Editors > Text file encoding), or
  - set the project- or folder-specific default (Context menu > Properties > Info > Text file encoding)
  This will change the encoding of all contained files that don't have an explicit encoding set.

Java editor

Using the Java editor

Edit menu