Hong Jung-mo's Follow Along and Learn C Programming
1.13 Basic usage of Visual Studio Code
팁: 한글출력
Written on
·
473
4
한글을 출력하고 싶은데 컴파일 후 실행하면 이상한 글자만 출력된다면, visual studio code 의 powershell 이나 cmd 에 chcp 65001 이라고 한 줄짜리 명령어를 먼저 입력한 후 다시 exe 파일 실행하면 됩니다. 터미널 기본값이 유니코드 인코딩이 아니어서 바꿔주는 거라고 하네요.