我用的是MyEclipse,不过基本和Eclipse是一样的。
Windows->Preferences,左侧导航树,导航到General->Workspace。右侧 Text file encoding,选择Other,改变为UTF-8,以后新建立工程其属性对话框中的Text file encoding即为UTF-8。
Windows->Preferences,左侧导航树,...
我用的是MyEclipse,不过基本和Eclipse是一样的。
Windows->Preferences,左侧导航树,导航到General->Workspace。右侧 Text file encoding,选择Other,改变为UTF-8,以后新建立工程其属性对话框中的Text file encoding即为UTF-8。
Windows->Preferences,左侧导航树,...