Under the same workspace, if the dependent jar package has both GBK encoding and UTF-8 encoding, the problem arises.
General workaround
1. Switch the work area code. Trouble, low efficiency.
2, set the jar package encoding, only Eclipse4.2 support, 4.0 The following version is not supported, and the line style does not, there is a bug.
Plug-in Workarounds
The plugin adds a menu item to the Eclipse browser source Editor, which allows developers to specify a specific binary encoding to correct garbled characters.
Scenario One: The GBK encoded jar package, which is garbled under the UTF-8 coded workspace, requires only the right-click menu encode for GBK, or press the shortcut key <shift + Alt + g>.
Plug-in Installation method
Help menu item, select instance New software,update Site URL address: http://tools.taobao.net/file/eclipsePlugin/eclipse/339/update_site
Eclipse View Source code garbled problem