Created
April 11, 2013 12:25
-
-
Save andresriancho/5362977 to your computer and use it in GitHub Desktop.
Detect non-ascii chars in scan database file.
This file contains 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
import string | |
for line in file('scan_database.db'): | |
line = line.strip() | |
for char in line: | |
if char not in string.printable: | |
print repr(char), line |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment