window ---- preferences
1、general ----- content type
2、general ----- workspace ---- text file encoding 输入“UTF-8”
3、myeclipse ----- file and editors ---- "选择具体文件类型还有编码格式"