Commit cff882ce authored by Benjamin Peterson's avatar Benjamin Peterson

default source encoding is now utf-8

parent e8022b4b
......@@ -62,11 +62,11 @@ def needs_declaration(fullpath):
infile.close()
return False
# check the whole file for non-ASCII characters
# check the whole file for non utf-8 characters
rest = infile.read()
infile.close()
if has_correct_encoding(line1+line2+rest, "ascii"):
if has_correct_encoding(line1+line2+rest, "utf-8"):
return False
return True
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment