Solution to Chinese garbled characters in Vscode terminal of Linux system

Find args in task.json and add a line in args

"-fexec-charset=UTF-8",

As shown in the picture: (Many people on the Internet said to change it to GBK, but it was found to be useless)

Guess you like

Origin blog.csdn.net/m0_48095841/article/details/134511586