How to display correct Chinese characters in the output pane?

Running the script in Visual Studio Code displays the Chinese characters correctly, but not in BashSupport Pro.

echo 测试


It should not be a problem with IDEA itself, because file paths containing Chinese characters are displayed properly.

@Andy-AO Does https://www.bashsupport.com/pro/run/settings/#advanced-settings help?

Especially on Windows the automatically detected output charset seems to be incorrect for non-latin output. With the advanced settings of a run configuration you can use UTF-8, for example.

I’ll investigate more if there’s a way to improve the autodetection.

– Joachim

1 Like

Thank you. The problem of changing the default configuration file can be solved.