코딩박스

[Intellij] properties 한글 적용

by 코박7

에러발생

application.properties 작성 중 한글이 안먹히는 오류 발생.

 

원인

  • properties 파일은 기본적으로 ISO 8859-1 인코딩을 사용하도록 설계가 되어있어 그렇다고 함.

 

해결

  • file → setting → Editor → File Encodings

 

중간에 보이는 Properties files 에 있는 Default encoding for properties files 을 UTF-8 로 변경하면 끝!

블로그의 정보

코딩박스

코박7

활동하기