mac 下用 文件编码改变 iconv -f GBK -t UTF-8 MyView_utf8.java > MyView_utf8.java -f 是从 -t 是去 注意 MyView_utf8.java > MyView_utf8.java 前后不能一样