Created
July 20, 2012 00:22
-
-
Save PuercoPop/3147858 to your computer and use it in GitHub Desktop.
Script to find the files that aren't encoded in uft-8 and do so
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
file -i `find templates/ | xargs` | sed -r '/charset=utf-8/d' | sed -r '/charset=binary/d' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment