最近总结了几种在MyEclipse里设置编码的方法: (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
(5)这个是新创建文件的编码:window-->preference-->MyEclipse-->Files and Editors-->选择子项-->Encoding
当用方法3修改工程的编码方式时,系统会自动将编码方式给转换过来!
扎客小站:www.ezhake.com