Eclipse中打开txt文档中文乱码

选择txt文档 右击选择Properties或者Alt+Enter快捷键 找到Text file encoding选项,选择Other 将Other后的内容改为GBK,若下拉列表中没有此选择,可以直接输入 右下角Apply,然后Apply and Close;或者直接Apply and Close 打开txt文档,中文显示正常。 祝君好运。
相关文章
相关标签/搜索