/usr/share/pyshared/SCRIBES/EncodingSystem/Utils.py is in scribes 0.4~r543-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 | def format_encoding(encoding):
utf8_encodings = ("utf-8", "utf8", "UTF8", "UTF-8", "Utf-8", None)
if encoding in utf8_encodings: return "utf-8"
return encoding.strip().lower()
|