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