天天看點

【轉】IDEA 中配置檔案properties檔案中文亂碼解決

1.首先我們的IDEA檔案編碼一般都修改為utf-8(setting-->file encodings--->Global Encoding 和 Project Encoding 都設定為UTF-8)

【轉】IDEA 中配置檔案properties檔案中文亂碼解決

2.對于 ​

​Properties​

​ 檔案,重要屬性 ​

​Transparent native-to-ascii conversion​

​ 主要用于轉換 ​

​ascii​

​,一般都要勾選,不然 ​

​Properties​

​ 檔案中的注釋顯示的都不會是中文。

【轉】IDEA 中配置檔案properties檔案中文亂碼解決

參考:​​https://github.com/judasn/IntelliJ-IDEA-Tutorial/blob/master/theme-settings.md​​