find -iname "*.java" -exec enca {} + |grep -v ASCI |grep -v -i utf |awk -F':' '{print $1}' > /tmp/f for i in $(cat /tmp/f);do echo $i;iconv -f GB2312 -t utf8 $i -o $i;done
本文共 171 字,大约阅读时间需要 1 分钟。
find -iname "*.java" -exec enca {} + |grep -v ASCI |grep -v -i utf |awk -F':' '{print $1}' > /tmp/f for i in $(cat /tmp/f);do echo $i;iconv -f GB2312 -t utf8 $i -o $i;done
转载地址:http://jmrul.baihongyu.com/