Posted on 2010-03-05 01:55
leekiang 閱讀(1532)
評論(0) 編輯 收藏 所屬分類:
eclipse netbeans
方法一,使用eclipse的jinto插件編輯,會自動調用java的native2ascii把文件轉碼。(沒用過)
方法二:
1)Eclipse --> Window -->Preferences
2)在“type filter text“的框框里輸入"Content Types"
3)點擊右邊的Text,選擇 JavaScript,把Default encoding改為GBK
來源:網絡