This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients docs@python, ksameersrk, martin.panter, terry.reedy
Date 2015-07-18.04:23:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1437193401.44.0.419205496316.issue24563@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-07-18 04:23:21martin.pantersetrecipients: + martin.panter, terry.reedy, docs@python, ksameersrk
2015-07-18 04:23:21martin.pantersetmessageid: <1437193401.44.0.419205496316.issue24563@psf.upfronthosting.co.za>
2015-07-18 04:23:21martin.panterlinkissue24563 messages
2015-07-18 04:23:20martin.pantercreate