Created
April 11, 2013 15:35
-
-
Save dtuite/5364409 to your computer and use it in GitHub Desktop.
Find ASCII chars in a directory. Useful for when you're getting encoding errors and you're not sure exactly where they're coming from.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat lib/tasks/* | perl -n -e 'print if /[^\x00-\x7F]/' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment