修改workspace编码
windows->preferences->gengral->workspace
在下面编码选择other->UTF-8应用。
修改Content Types编码
windows->preferences->gengral->conten Types->Text
Default enconding–>UTF-8–>Update(这样把里面所有的文件设置为UTF-8编码)
java propertiesfile重新设置一下
修改web下文件的编码
windows->preferences->web->(css files、html files、javaServer face、jsp files)
在enconding设置为ISO 10646/Unicode(UTF-8)
注:ISO 10646
UTF-8也是符合ISO标准的