解决办法:
在Eclipse里面点击
run–>Open Run Dialog…
然后找到Common下面的Console Encoding
在项目上点击properties–>Run/Debug settings–>new java application–>Common
勾选Run/Debug 并选择Console Encoding 设置为GBK.
在Other里选择你所要的编码格式(我用的是UTF-8,中文OK)
18.Eclipse console 中文乱码解决 ?
最新推荐文章于 2019-04-02 15:03:34 发布