ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • IntelliJ log 한글 깨짐
    개발 도구/IntelliJ 2024. 1. 9. 14:26

    목차

      개요

      IntelliJ 에서 Spring Boot Applicatoin 을 실행할 때 표시 되는 log 중 한글이 깨지는 것을 해결 방법을 정리한다.

       

      IntelliJ 의 VM 설정 변경

      IntelliJ 의 vm 설정은 설치 된 IntelliJ 실행 파일이 참조하는 "idea64.exe.vmoptions" 파일이다.

       

      idea64.exe.vmoptions 파일 경로

      IntelliJ 가 설치 된 경로에 있다.

      예 : C:\Users\WM-BD000079\AppData\Roaming\JetBrains\IdeaIE2022.2

       

      IntelliJ 에서 설정 파일 idea64.exe.vmoptions 열기

      IntelliJ 에서 [ctrl + shift + A] 를 클릭하면 검색 창이 뜨는데 "vm" 을 검색하여 [Edit Custom VM Options...] 를 클릭하면 설정 파일 idea64.exe.vmoptions 을 열어 준다.

       

       

      설정 파일에 UTF-8 설정 추가

      ## Console  UTF-8
      -Dconsole.encoding=UTF-8
      
      ## file encoding UTF-8
      -Dfile.encoding=UTF-8

       

       

      VM 설정 변경 적용

      변경 된 설정은 IntelliJ 를 종료 후 다시 시작해야 적용 된다.

    Designed by Tistory.