Window---preferences--search jsp--Press JSP to modify encoding
-------------------------------------------------------------
There are three places to change the encoding settings:
1.
window--"preference--" general--"contenttype
then expand each subkey in the content types and enter "UTF-8" in the Defaultencoding, and then click Update
2.
window--"preference--" myeclipse--"Filesand Editor
Change the "Encoding" of each subkey to "ISO 10645/unicode (UTF-8)" or "Chinese,nationalstandard", point Applay,
The document types that are created later are UTF-8 formats.
3 in order to not appear in the project ExtJS Chinese garbled problem, it is recommended to change the MyEclipse workspace settings to UTF-8 encoding
window--"preference--" general--"workspace--" Textfiles encoding--"other choice UTF-8
In this way when the JS code is loaded JS code and JSP encoding the same will not appear garbled, or ExtJS effect can not display the problem
(MyEclipse6.0 version is window--"preference--" myeclipse--"files andeditors the following CSS, DTD, HTML, JS, JSP ecoding changed to UTF-8)
Transfer from http://blog.csdn.net/zouxuhong/article/details/7311590