myeclipse符号化の問題
3855 ワード
eclipse+MyEclipse , ISO-8859-1, ( JSP), , , ,UTF-8
, , Java UTF-8 。 ,MyEclipse (workspace) , (Windows XP、Windows 2000 ) GB18030, GB18030, java GB18030。 、java UTF-8 :
1、windows->Preferences... " " , , general->Workspace, Text file encoding, Other, UTF-8, Text file encoding UTF-8。 Workspace 。
2、windows->Preferences... " " , , general->Content Types, Context Types , Text , <Default encoding> "UTF-8", update! 。
java :properties、XML MyEclipse , ISO8859-1,UTF-8, 。
3、window-->preference-->MyEclipse-->Files and Editors, "Encoding" "ISO 10645/Unicode(UTF-8)", Apply! , , 。
4、 , java UTF-8 ,MyEclipse 、 、 , RCP Product 、 , , ( compile)、 。 RCP 、 Plugin build.properties ,javacDefaultEncoding.. = UTF-8。 java UTF-8 。 java UTF-8 , , MyEclipse (Plug-in Development Environment Guide > Reference > Feature and Plug-in Build configuration), java UTF-8 。
、RCP , GB18030, UTF-8, , ; , iconv , UTF-8 , java , ; Text file encoding, UTF-8 。
: 3 , Myeclipse java ( ), ( EditPlus、 ) ( , , ) Utf-8, Myeclipse editor 。
---------------------------------------------------------------------
: MyEclipse , java , windows->Preferences...→general->Workspace GBK, 。