[docs] [issue24563] Encoding declaration: doc supported encodings
Martin Panter
report at bugs.python.org
Sat Jul 18 06:23:21 CEST 2015
Martin Panter added the comment:
PEP 263 doesn’t say exactly what encodings are supported. It mentions Shift JIS is supported, but UTF-16 is not. Only UTF-8 is allowed if the file starts with a UTF-8 BOM. I guess many of the Python-specific text encodings from the second section may be supported. Probably any text encoding in general, as long as the first one or two lines can “rougly” be parsed in ASCII.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24563>
_______________________________________
More information about the docs
mailing list