右键项目的名字-->Properties-->左边选 Resource-->右边选 Text file encoding 这一栏-->other-->这里选原项目的字符编码 如果你不知道的话 就选gbk 或者 utf-8 试一下