There are two modes of dealing with file encoding:
- Converting: the contents of the editor are stored in a different encoding. So doing,
the contents of the underlying file change, but the contents of the editor stay unchanged.
- Reloading: the underlying file, opened in the editor, is shown in an encoding that differs from its original one.
So doing, the contents of the editor can change, but the underlying files does not.
PyCharm suggests the following major ways to change encoding:
PyCharm also supports configuring encoding for properties files.