This is based on: #8514
The C/C++ extension will invoke a build command line directly in CustomBuildTaskTerminal in cppBuildTaskProvider.ts. It uses "shell": true, and assumes the stdout/stderr of the executed process is UTF-8 encoded. It passes the text it reads along to VS Code, which displays it in a terminal. In the case of cl.exe on non-US systems (and likely other scenarios), that text is encoded with the current code page, not UTF-8. The text output to the terminal will appear incorrect if it contains non-ASCII characters. This is an issue with the "cppbuild" task type but is not an issue for VS Code's "shell" and "process" task types, which it handles internally.
This is based on: #8514
The C/C++ extension will invoke a build command line directly in
CustomBuildTaskTerminalincppBuildTaskProvider.ts. It uses"shell": true, and assumes the stdout/stderr of the executed process is UTF-8 encoded. It passes the text it reads along to VS Code, which displays it in a terminal. In the case ofcl.exeon non-US systems (and likely other scenarios), that text is encoded with the current code page, not UTF-8. The text output to the terminal will appear incorrect if it contains non-ASCII characters. This is an issue with the "cppbuild" task type but is not an issue for VS Code's "shell" and "process" task types, which it handles internally.