Eclipse character set setting method.
Preferences... open the "Preferences" dialog box, navigation tree on the left, navigation to general-> Workspace, Text file encoding on the right, select Other, and change to UTF-8 (lower-case only ), text file encoding in its properties dialog box is the UTF-8.
Preferences... open the "Preferences" dialog box, navigate to general> Content Types from the left navigation tree, click the Content Types tree on the right, Open Text, and select Java Source File, enter the UTF-8 in the following Default encoding input box, and click Update to set the Java file encoding to UTF-8. Set Default encoding for jsp, js, css, and other types. the setting method is the same as that for Java Source File.
Preferences... open the "Preferences" dialog box, navigation tree on the left, navigation to MyEclipse-> Files and Editors-> JSP, change Encoding to UTF-8
Http://www.bkjia.com/PHPjc/440254.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/440254.htmlTechArticle...