eclipse從本地導入的Maven工程出現亂碼
如圖所示:
打開Windows -> Preferences -> General -> Content Types ->Text ->Java Source File可以看到默認是用GBK編碼的,將其改爲UTF-8並Update,問題解決。
eclipse從本地導入的Maven工程出現亂碼
如圖所示:
打開Windows -> Preferences -> General -> Content Types ->Text ->Java Source File可以看到默認是用GBK編碼的,將其改爲UTF-8並Update,問題解決。