Skip to content

Instantly share code, notes, and snippets.

@jamesvulling
Created December 3, 2012 12:12
Show Gist options
  • Save jamesvulling/4194636 to your computer and use it in GitHub Desktop.
Save jamesvulling/4194636 to your computer and use it in GitHub Desktop.
Find non-ascii characters in a text file
grep --color='auto' -P -n "[\x80-\xFF]" file.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment