http://eggboss.iteye.com/blog/639841

 

因為是別人的文章,我只把關鍵處標示出來

其餘還是去看原作寫的吧 :P

 

建置全UTF-8的環境:

1.在eclipse.ini的-vmargs下面加上「-Dfile.encoding=UTF-8」。

2.eclipse-->Window-->Preferences-->General-->Workspace-->Text file encoding-->UTF-8

3.Installed JREs-->Default VM Arguments:-->-Dfile.encoding=UTF-8

4.eclipse-->Run-->Run Configurations-->Arguments-->VM arguments-->-Dfile.encoding=UTF-8

5.eclipse-->Run-->Run Configuration-->Common 頁籤--> Console Encoding-->Others-->UTF-8

==>亂碼!

5.eclipse-->Run-->Run Configuration-->Common 頁籤--> Console Encoding-->Others-->big5

==>ok!

 

 

持續被 Eclipse 玩弄中...

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 figer 的頭像
    figer

    日劇看不完

    figer 發表在 痞客邦 留言(0) 人氣()