Refer to the blog address: http://blog.csdn.net/gaijianwei/article/details/20830445
Import a JSP project today, comments appear garbled! (It's not going to happen!) )
The reason is because, my project is GBK code, at present as long as the domestic project, generally is (haha a bit absolutely), however, my Myeclispe set the default encoding is UTF-8! So, when you click on the right mouse button, select the Zodiac Bar, and no GBK items!
(Today I do not know how to pass the picture)
First step: Modify the encoding of the workspace:
to modify the encoding of the entire workspace:windows--preferences-- General--Workspace---The textfile Encodingchange to UTF8 "or GBK)-----> In accordance with the code format of the imported project
Step Two: Modify the item's Amount encoding format
to modify the encoding of a single project: Right-click on the project--preferences--resource-- Text File encoding change to GBK