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 terry.reedy
Recipients ned.deily, serhiy.storchaka, taleinat, terry.reedy
Date 2020-06-29.04:11:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The PR is for 1.  The *nix code is a bit clearer without the Windows code in the middle.

Is there a good reason why when encoding is 'utf-8', errors should be 'surrogateescape' on Windows and 'strict' elsewhere?  Surrogateescape seems like it is made for when using ascii or other limited encoding.
Date User Action Args
2020-06-29 04:11:40terry.reedysetrecipients: + terry.reedy, taleinat, ned.deily, serhiy.storchaka
2020-06-29 04:11:40terry.reedysetmessageid: <>
2020-06-29 04:11:40terry.reedylinkissue41152 messages
2020-06-29 04:11:40terry.reedycreate