ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • unmappable character for encoding ms949
    에러 2021. 5. 2. 15:45
    728x90

    원인

    파일의 인코딩이 ms949 으로 설정되어 있어 한글이 깨져 생기는 문제

     

    해결 방법

    IntelliJ

    File -> Settings

    File - Settings

    Editor -> File Encoding 에서 아래 빨간 부분을 UTF-8로 변경

    File Encoding

    다음으로 Help -> Edit Custom VM Options를 클릭합니다.

    Edit Custom VM Options

    그리고 아래의 속성을 추가해 줍니다.

    -Dfile.encoding=UTF-8
    -Dconsole.encoding=UTF-8

    그리고 IntelliJ를 종료 후 재시작 후 다시 실행하면 해결된것을 볼 수 있다.

    반응형

    댓글

Designed by Tistory.