idea查看properties文件使unicode码显示为中文

1.点击File > Settings
idea查看properties文件使unicode码显示为中文
2.在搜索框中输入file encoding关键字,搜索定位到File Encoding菜单
idea查看properties文件使unicode码显示为中文
3.打开File Encoding菜单,勾选 Transparent native-to-ascii conversion复选框,点击ok
idea查看properties文件使unicode码显示为中文
4.关闭properties文件,重新打开就能正常显示为中文了
idea查看properties文件使unicode码显示为中文