Eclipse---》Window----》preference--->General---》Workspace--》Text file encoding 进行编码切换即可,默认是GBK,改为UTF-8