I want开发者_如何学JAVA to change the encoding for eclipse to UTF-8
Go to Window > Preference > General > Workspace and on the "Text file encoding" panel select UTF-8
using Eclipse 3.* (I think it didn't change since 3.0)
Click on menu "Window/preferences"
Select General/Workspace.
it will show you a panel containing a sub-panel titled "Text file encoding", letting you choose either default platform one or a specific one.
精彩评论