How to avoid garbled terminal characters in Visual Studio Code

How to avoid garbled terminal characters in Visual Studio Code

Japanese characters in Visual Studio Code terminal are garbled. (In the case of Command Prompt and Git-Bash)

To work around this, open “File” – “Preferences” – “Settings” and configure the following settings.

Restart VSCode and the garbled characters will be fixed.

{
  "terminal.integrated.shellArgs.windows": [
    "/k",
    "chcp",
    "65001"
  ]
}

コメント

タイトルとURLをコピーしました