更改Eclipse中文本文件的缺省编码

菜单:Windows – Preferences,找到General – Workspace,在Text file encoding中可把缺省编码改为UTF8或者其他。