인텔리J 한글 깨지는 현상 해결하기

Jan 05, 2024
인텔리J 한글 깨지는 현상 해결하기
 
 
notion image
 
인텔리 J 로 값이 깨지는 결과가 발생할 때 해결하는 법.
 
 

방법 1

 
notion image
 
Settings - Editor - File Encodings 에서 값을 utf-8로 변경한다.
 

방법 2

 
notion image
 
상단바의 Help - Edit Custum VM Options 를 클릭한다.
 
-Dfile.encoding=UTF-8 -Dconsole.encoding=UTF-8
 
 
notion image
 
붙여놓고 난 이후 재실행하면 된다.
 

방법 3

 
notion image
 
오른쪽 상단에 있는 Gradle 을 클릭한다.
 
클릭 후 build - clean 을 실행 후 완료되면 build - build 를 실행하면 완료된다.
 
 

4. gradle 로 실행했을 때

 
notion image
 
Settings - Build Tools
Build and run using , Run tests using 을 IntelliJ IDEA 로 변경한다
Share article
RSSPowered by inblog