idea properties文件中文无法正常显示

问题:在idea打开配置文件,已经设置了全局编码格式为UTF-8,和项目编码格式为UTF-8,但是中文依然不能正常显示

如config.properties,里面中文注释显示为utf8字符编码数字

解决方法:file->settings->editor->file encodings

如下图设置 ,一定要把下面这个选项(Transparent native-to-ascii converstion)勾上

参考:https://www.jetbrains.com/help/idea/properties-files.html

猜你喜欢

转载自blog.csdn.net/u010999809/article/details/81204457