eclipse中打印输出中文会出现乱码
在官网上下载的Eclipse IDE for Java Developers - 2022-03
之前以为是因为字符编码没有改成utf-8模式而出现错误,但我在网上搜索了解决方案说是在window-->preference-->general-->workspace里的Text file encoding 里改成utf-8模式
求各位指导
清空缓存
找到Java compiler修改编码字符集为UTF-8即可。