右键项目的名字 -->Properties--> 左边选 Resource--> 右边选 Text file encoding 这一栏-->other--> 这里选原项目的字符编码(GBK,UTF-8等)