Skip to content

Instantly share code, notes, and snippets.

@sgonyea
Created April 24, 2012 01:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • 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