Some characters cannot be mapped using iso-8859-1 character encoding, mappediso-8859-1
Some characters cannot be mapped using iso-8859-1 character encodingsome characters cannot be mapped using iso-8859-1 character encodingEclipse creates a new. properties file, if the input Chinese save will prompt error 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.
Solution:
Solution 1: menu-> Window-> Preferences-> General-> Content Types-> Text-> Java Properties File set Default encoding, change ISO-8859-1 to UTF-8 and then update. if it is a jsp file or other files can not be saved, you can also use the same method, select the appropriate type of file in Text, the following Default encoding, from the ISO-8859-1 to the UTF-8. Solution 2: If jsp can not save, you can set pageEncoding to UTF-8 on the line, for example: pageEncoding = "UTF-8" or Ctrl + F look for iso-8859-1, replace all the iso-8859-1 with a UTF-8.