eclipse更改编码方法:
打开eclipse,点击菜单栏的window标签下面的preference
在弹出的框中点击general里面的workplace
找到text file encoding选择other
在下拉列表里就可以选择需要设置的编码格式了
最后点击ok保存即可