Skip to content

Instantly share code, notes, and snippets.

@sgonyea
Created April 24, 2012 01:46
Show Gist options
  • Save sgonyea/2475444 to your computer and use it in GitHub Desktop.
Save sgonyea/2475444 to your computer and use it in GitHub Desktop.
How to find non-ASCII characters in a file
grep --color='auto' -P -n "[\x80-\xFF]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment