출력창 한글 깨짐 문제는  "PYTHONIOENCODING":"utf-8"을 추가하면 해결됩니다




.vscode/tasks.json

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
   // See https://go.microsoft.com/fwlink/?LinkId=733558
   // for the documentation about the tasks.json format
   "version": "0.1.0",
   "tasks": [
       {
           "taskName": "echo",
           "command": "python",
           //"type": "shell",
           "isShellCommand": true,
           "isBuildCommand": true,
           "args": ["${file}"],
           "showOutput": "always",
           "options": {
               "env": {
               "PYTHONIOENCODING":"utf-8"
               }
           }
       }
   ]
}


+ Recent posts