Eclipse中打開txt文檔中文亂碼

選擇txt文檔 右擊選擇Properties或者Alt+Enter快捷鍵 找到Text file encoding選項,選擇Other 將Other後的內容改爲GBK,若下拉列表中沒有此選擇,可以直接輸入 右下角Apply,然後Apply and Close;或者直接Apply and Close 打開txt文檔,中文顯示正常。 祝君好運。
相關文章
相關標籤/搜索