有 2 个地方需要修改
Window > Preferences > General > Content Types, set UTF-8 设置所有的内容为 UTF-8 编码
Window > Preferences > General > Workspace, 设置文本文件编码为 UTF-8
使用上面的命令进行修改。