By, it's gone all day

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.