ApplicationResources.properties文件elipse默认的不支持中文,其实不需要任何的插件只需要修改windows---->Preferences----> PropertiesEditor
在Encode at reading a file中选US--ASCII(其实不一定要这种编码,其它UTF的编码都可以)
这样在ApplicationResources.properties写中文,它会自动转换为ASCII;
例:在ApplicationResources.properties上点右键,open with选PropertiesEditor就可以在ApplicationResources.properties写中文了。当修改了ApplicationResources.properties必须重启eclipse中的tomcat才能够属性ApplicationResources.properties中修改的内容。
在Encode at reading a file中选US--ASCII(其实不一定要这种编码,其它UTF的编码都可以)
这样在ApplicationResources.properties写中文,它会自动转换为ASCII;
例:在ApplicationResources.properties上点右键,open with选PropertiesEditor就可以在ApplicationResources.properties写中文了。当修改了ApplicationResources.properties必须重启eclipse中的tomcat才能够属性ApplicationResources.properties中修改的内容。