轉的一篇文章,寫的很好。
General-->Workspace-->Text file encoding,設置合適的編碼。 這是整個workspace下面所有工程的查看文件的編碼格式。
General --- content type --- text --- jsp 單類文件的設置(這個在MyEclipse中怎麼設置都不生效,也許在Eclipse中才能生效)
在項目按右鍵-->properties-->resources--> Text file encoding,這裏是設置單個項目的編碼。
在源碼按右鍵-->properties--> Text file encoding,這裏是設置單個文件的編碼
http://www.blogjava.net/lifesting/archive/2008/04/11/192250.html