Resolving the Eclipse console Chinese garbled

Problems:

When the project started in console input log, but Chinese garbled, unsightly garbage characters

solution:

  1. Click eclipse top Window menu bar items, item into select Preferences Preferences window, selected according to the red line into the illustrated Workspacesetting

  2. In Text file encodingcase cancel the default GBK coding , and select Other in the drop-down selection box to selectUTF-8

Guess you like

Origin www.cnblogs.com/zhiyin1209/p/12169202.html