Searched refs:has_correct_encoding (Results 1 – 2 of 2) sorted by relevance
44 def has_correct_encoding(text, codec): function70 if has_correct_encoding(line1+line2+rest, "utf-8"):
44 def has_correct_encoding(text, codec): function71 if has_correct_encoding(line1+line2+rest, "ascii"):