Author steve.dower
Recipients Valentin Zhao, jaraco, paul.moore, steve.dower, tim.golden, zach.ware
Date 2018-11-02.23:40:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1541202016.2.0.788709270274.issue35131@psf.upfronthosting.co.za>
In-reply-to
Content
Can you save your file in gbk encoding? That will be an immediate fix.

I don't know that we can/should change the encoding we read without checking with everyone who writes out .pth files. (+Jason as a start here, but I suspect there are more tools that write them.)

We could add a handler for UnicodeDecodeError that falls back on utf-8? I think that's reasonable.
History
Date User Action Args
2018-11-02 23:40:16steve.dowersetrecipients: + steve.dower, paul.moore, jaraco, tim.golden, zach.ware, Valentin Zhao
2018-11-02 23:40:16steve.dowersetmessageid: <1541202016.2.0.788709270274.issue35131@psf.upfronthosting.co.za>
2018-11-02 23:40:16steve.dowerlinkissue35131 messages
2018-11-02 23:40:16steve.dowercreate