将Eclipse创建的项目编码默认改成UTF-8
打开eclipse:
在目录栏 Window 下 点击 preferences
选择第一项 General 的子项 Workspace
找到 Text file encodeing 选择other 输入字符编码 UTF-8
打开eclipse:
在目录栏 Window 下 点击 preferences
选择第一项 General 的子项 Workspace
找到 Text file encodeing 选择other 输入字符编码 UTF-8