Save cocould not be completed. Reason: some characters cannot be mapped using "ISO-8859-1" character E

Source: Internet
Author: User

The following error occurred while applying the template:

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 that this error occurs when saving after adding Chinese characters!

The following are my personal solutions for your reference:

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 code of Java will be called automatically to transcode the file. Jinto plug-in download: http://www.guh-software.de/jinto.html attachment: install the properties editor in eclipse. In eclipse, "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.

 

In this way, the Eclipse plug-in can be installed by yourself.

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.