eclipse的.properties文件,默认的编码方式是iso-8859-1.
只要把Default Encoding修改成UTF-8就可以了!
步骤如下:
Window—>Preferences–>Content Types–>Test–>Java Properties File;然后在File associations框中–>.properties(locked)–>Default encoding中改就行了;
本文介绍如何在Eclipse中将.properties文件的默认编码从iso-8859-1改为UTF-8,包括详细步骤说明。
eclipse的.properties文件,默认的编码方式是iso-8859-1.
只要把Default Encoding修改成UTF-8就可以了!
步骤如下:
Window—>Preferences–>Content Types–>Test–>Java Properties File;然后在File associations框中–>.properties(locked)–>Default encoding中改就行了;
638

被折叠的 条评论
为什么被折叠?