設置MyEclipse編碼
(1)修改工作空間的編碼方式:Window-->Preferences-->General-->Workspace-->Text file encoding
(2)修改一類文件的編碼方式:Window-->Preferences-->General-->content Types-->修改default Encoding
(3)修改單個文件的編碼方式:在源碼按右鍵-->General-->Editors-->Test Editors-->Spelling-->Encoding
(4)修改單個工程的編碼方式:在工程按右鍵-->Properties-->Resource-->Text file encoding-->other
(5)新創建文件的編碼:window-->preference-->MyEclipse-->Files and Editors-->選擇子項-->Encoding
轉自:http://www.cnblogs.com/linjiqin/archive/2011/12/26/2302284.html