Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8022b4 commit cff882cCopy full SHA for cff882c
1 file changed
Tools/scripts/findnocoding.py
@@ -62,11 +62,11 @@ def needs_declaration(fullpath):
62
infile.close()
63
return False
64
65
- # check the whole file for non-ASCII characters
+ # check the whole file for non utf-8 characters
66
rest = infile.read()
67
68
69
- if has_correct_encoding(line1+line2+rest, "ascii"):
+ if has_correct_encoding(line1+line2+rest, "utf-8"):
70
71
72
return True
0 commit comments