设置eclipse空间默认字符集是UTF-8
windows->Preferences>general->Workspace,右 侧Text file encoding,选择Other,改变为UTF-8。