Skip to content

Instantly share code, notes, and snippets.

@hainesr
Created October 23, 2013 20:28
Show Gist options
  • Save hainesr/7126113 to your computer and use it in GitHub Desktop.
Save hainesr/7126113 to your computer and use it in GitHub Desktop.
Detect non-ASCII characters in a file.
grep --color='auto' -P -n "[\x80-\xFF]" <file>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment