(1)修改工作空间的编码方式:Window-->Preferences-->General-->Workspace-->Text file encoding (2)修改一类文件的编码方式:Window-->Preferences-->General -->content Types -->修改default Encoding (3)修改单个文件的编码方式:在源码按右键-->General-->Editors-->Test Editors-->Spelling-->Encoding (4)修改单个工程的编码方式:在工程按右键-->Preferences-->Resource-->Text file encoding-->other window-->preference-->MyEclipse-->Files and Editors-->选择子项-->Encoding
新创建文件的编码