Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jeffreycwitt/89d6a9137c312e1b4b35472cd19a7d40 to your computer and use it in GitHub Desktop.
Save jeffreycwitt/89d6a9137c312e1b4b35472cd19a7d40 to your computer and use it in GitHub Desktop.
cool trick to find all non-ASCII characters in UNIX
cool trick to find all non-ASCII characters in UNIX
pcregrep --color='auto' -n "[\x80-\xFF]" filename.xml
See http://stackoverflow.com/questions/3001177/how-do-i-grep-for-all-non-ascii-characters-in-unix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment