장난감들

[IntelliJ] Properties 파일 한글깨짐

헤르메스의날개 2021. 1. 3. 22:37
728x90

일반적으로 요즘엔 다국어를 의식해서인지 파일 Encoding을 UTF-8 을 많이 사용합니다.

Properties 파일은 ASCII 코드로 글을 저장합니다.

Eclipse 에서는 Properties Editor 라는 Plugin 이 있어서 잘 사용했습니다.

IntelliJ 에서는 [File] >> [Settings] >> [Editor] >> [File Encodings] >Transparent native-to-ascii conversion 을 체크

아래와 같이 보여집니다.

728x90