Dev/Python
[ vscode ] extension "Code Runner" 한글 깨짐 (python, c, cpp)
surimi🍥
2021. 3. 17. 23:42
반응형
1. Code Runner 설정으로 들어간다.
2. setting.json 열기
# python 항목 수정
"python": "python -u", 를 아래와 같이 수정
"python": "set PYTHONIOENCODING=utf8 && python -u",
# C, Cpp 항목 수정
"c": "chcp 65001 && cd $dir && gcc $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"cpp": "chcp 65001 && cd $dir && g++ $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
반응형