项目编码设置
设置项目编码为UTF-8
,解决 properties 文件中文乱码问题。
File
=> Settings
=> Editor
=> File Encoding
- 设置
Global Encoding
为UTF-8
; - 设置
Project Encoding
为UTF-8
; - 设置
Default encoding for properties files
为UTF-8
; - 设置
Create UTF-8 files
为with NO BOM
。
设置项目编码为UTF-8
,解决 properties 文件中文乱码问题。
File
=> Settings
=> Editor
=> File Encoding
Global Encoding
为UTF-8
;Project Encoding
为UTF-8
;Default encoding for properties files
为UTF-8
;Create UTF-8 files
为with NO BOM
。