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
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