CLion 2020.1 Help

Configuring 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, see JVM options.

Last modified: 08 May 2020