1) window->preferences->General->Content Types 2) 找到要修改的文件的类型,在下面有个Default encoding,在输入框中输入GBK 3) 点击Update 4) 点击OK