본문 바로가기

카테고리 없음

JAVA Windows command (cmd) 한글 깨짐 문제해결

반응형
# JAVA Windows command (cmd) 한글 깨짐 문제해결 참고 . Console (Cmd, command, 명령 프롬프트) 창 properties 에서 한글 지원되는 font 로 바꿔줘야 함. 그래야 chcp 65001 (Changes the active console code page. UTF-8) encoding 이 제대로 표현됨. 참조 .
  1. Start -> Run -> regedit
  2. Go to [HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\Autorun]
  3. Change the value to @chcp 65001>nul
If Autorun is not present, you can add a New String. ## RRA
  1. 윈도우10 CMD 한글 깨짐 해결 방법, by PG, 2019-03-02
  2. superuser.com - Change default code page of Windows console to UTF-8
  3. readme.tistory.com - cmd에 Java 컴파일 및 실행 시 인코딩 관련 에러 (한글 깨짐), by 그린기린그림, 2021-02-22
반응형