IntelliJ IDEA 12.1.0 Web Help

File | Settings | File Encodings

settings

IntelliJ IDEA | Preferences | File Encodings

settings

Use this dialog to configure encoding options for a project and for the entire IDE.

ItemDescription
IDE EncodingSelect encoding to be used for IntelliJ IDEA.
File/DirectoryThis column displays the project tree view.
Default encodingThis column displays encoding for a file or directory, if applicable. If encoding is defined within a file, it cannot be configured, and is shown in grey font. If encoding is configurable, click the Default Encoding column for a selected file or directory, and choose encoding from the drop-down list.

Encoding information embedded in a file overrides the selected one; encoding information for the nested files or directories overrides that for the outer directories or the whole project.

Autodetect UTF-encoded filesCheck this option, if you want IntelliJ IDEA to change file encoding to UTF, if at least one character encoded in UTF-8 or UTF-16 is detected in a file.
Default encoding for properties filesUse this drop-down list to define encoding for the properties files in a project. According to the Java API, the load(InputStream) / store(OutputStream, String) methods of the java.util.Properties class, use ISO 8859-1 encoding for input/output stream. It is advisable to use this encoding unless you have special reasons to change it. In this case, you can select the desired encoding from the drop-down list; in particular, you can use encoding defined for the whole project.
Transparent native-to-ascii conversionSelect this option to show in properties files the national characters (non-ISO 8859-1), stored as escape sequences. For more details refer to Configuring Encoding for Properties Files.

See Also

Concepts:

Procedures:

Web Resources: