IntelliJ IDEA 2018.3 Help

Configuring Output Encoding

IntelliJ IDEA creates files using the IDE encoding defined in the File Encodings page of the Settings / Preferences dialog (Ctrl+Alt+S). You can use either the system default or select from the list of available encodings. By default, this encoding affects console output. If you want the encoding for console output to be different from the global IDE settings, configure the corresponding JVM option:

  1. On the Help menu, click Edit Custom VM Options.

  2. Add the -Dconsole.encoding option and set the value to the necessary encoding. For example: -Dconsole.encoding=UTF-8

  3. Restart IntelliJ IDEA.

For more information, seeConfiguring JVM options.

Last modified: 1 February 2019