IDEA Properties中文unicode转码问题

摘要: 如何让IDEA的properties中的中文进行unicode转码,正确显示

在IDEA中创建了properties文件,发现默认中文不会自动进行unicode转码。如下
[img]http://dl2.iteye.com/upload/attachment/0123/1462/977972aa-4c36-3f4e-91c6-3b6500d1ea47.jpeg[/img]
在project settings - File Encoding,在标红的选项上打上勾,确定即可
[img]http://dl2.iteye.com/upload/attachment/0123/1464/44dc022c-d820-3e07-b112-281637828551.jpeg[/img]
效果图如下:
[img]http://dl2.iteye.com/upload/attachment/0123/1466/f63077b7-f355-3c36-af2a-d83096e0ab75.jpeg[/img]

你可能感兴趣的:(java)