CLion 2018.3 Help

Output Encoding

CLion 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 CLion.

For more information, seeConfiguring JVM options.

Last modified: 14 February 2019