Skip to content

Instantly share code, notes, and snippets.

@wliment
Created November 10, 2013 13:33

Revisions

  1. wliment created this gist Nov 10, 2013.
    1 change: 1 addition & 0 deletions find_utf8_convert.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    find . -type f -name '*.java' -exec bash -c "enca -L zh_CN {}|grep UTF-8 > /dev/null && enconv -L zh_CN -x GB2312 {}" \;