1. InSave. PropertityFile displayError: Save cocould not be completed. Reason: some characters cannot be mapped using "ISO-8859-1" character encoding. Either
Change the encoding or remove the characters which are not supported by the "ISO-8859-1" character encoding. It seems to be this error when saving after adding Chinese!
1). Eclipse --> window --> preferences --> General --> content types --> test --> click Java properties file. 'default edcodng: 'appears at the bottom, which is changed to UTF-8 or GBK, then update.
Although it can be saved, native2ascii must be used for conversion. Otherwise, the output is garbled.
2).The Jinto plug-in of eclipse should be used for editing. The native2ascii of Java will be automatically called to transcode the file. Jinto plug-in download: http://www.guh-software.de/jinto.html attachment: Install properties under eclipse
In eclipse, Editor "help" --- "Software Update" -- "find and install" -- "search for new feature components to be installed" --- "Next" --- "create remote site" --- enter" name ": properties editor;
The URL is: http://propedit.sourceforge.jp/eclipse/updates/ point done, let it download plug-in by itself... find the appropriate properties editor installation, this plug-in is reduced to UTF-8 format, automatically converted in struts.
TransferSELF:Http://blog.csdn.net/eryueban213/article/details/6041351