공부용

IntelliJ Console 한글 깨짐 현상 해결 본문

카테고리 없음

IntelliJ Console 한글 깨짐 현상 해결

고딕짱! 2021. 4. 27. 15:08

해결방법 

#1 - Editor 의 File Encoding 수정

1. CTRL + ALT +S 로 IntelliJ Settings 메뉴 호출

2. Editor > File Encodings 로 이동

 - Global Encdoing: UTF-8

 - Project Encoding: UTF-8

Default encoding for properties files: UTF-8

 

#2 - Tomcat의 VM Options 추가

1. 상단 Run -> Edit Configuration

2. Tomcat > Server JVM Options에 아래 내용 입력

-Dfile.encoding=UTF-8 ("!!! 주의    - 포함")

 

#3 - IntelliJ 의 vm options 수정

1. Shift 빠르게 2번 클릭 후 Edit Custom VM Options 선택

2. 최하단에 아래 내용 입력

 -Dfile.encoding=UTF-8 ("!!! 주의    - 포함")

 

IntelliJ 재실행

 

 

Comments