Skip to content

Instantly share code, notes, and snippets.

@PuercoPop
Created July 20, 2012 00:22
Show Gist options
  • Save PuercoPop/3147858 to your computer and use it in GitHub Desktop.
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
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