Commit ba9d273a authored by Stefan Behnel's avatar Stefan Behnel

Fix 'coding' cookie detection in the second source line.

Closes #2632.
parent 8d4d4839
......@@ -259,7 +259,7 @@ def detect_opened_file_encoding(f):
elif len(lines) > 1:
m = _match_file_encoding(lines[1])
if m:
return "UTF-8"
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