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 <rep...@bugs.python.org>
<http://bugs.python.org/issue24563>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to