Guest User

Untitled

a guest
Dec 13th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. files=`find . -name '*.java' | xargs enca -L zh | grep GB2312 | cut -d: -f1`
  2. for f in $files; do
  3. iconv -f GBK -t UTF-8 $f > $f.utf && mv -f $f.utf $f && echo "$f done"
  4. done
Add Comment
Please, Sign In to add comment