Created
November 10, 2013 13:33
-
-
Save wliment/7398333 to your computer and use it in GitHub Desktop.
查找utf-8的文件然后转换成GBK
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -type f -name '*.java' -exec bash -c "enca -L zh_CN {}|grep UTF-8 > /dev/null && enconv -L zh_CN -x GB2312 {}" \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment