Skip to content

Instantly share code, notes, and snippets.

@Morse-Code
Forked from sgonyea/gist:2475444
Created April 24, 2012 03:08
Show Gist options
  • Save Morse-Code/2475885 to your computer and use it in GitHub Desktop.
Save Morse-Code/2475885 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