Eclipse控制台乱码怎么解决

如题所述

一、Eclipse全局设置

1.Window > Preferences
2.General > Workspace > Text file encoding.
3.选择 Other
4.手工输入GBK
二、配置java应用程序的控制台输出。
1.Run -> Run configurations...
2.在Java Application中选中你的引用程序。
3.选中Common标签页。
4.在Console encoding项中选择Other,然后选中GBK。
5.点击Apply按钮。
温馨提示:内容为网友见解,仅供参考
无其他回答
相似回答