Author methane
Recipients methane, vstinner
Date 2020-11-03.05:15:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I don't think UTF-8 mode should override os.device_encoding() on Windows.

UTF-8 mode can be used to ignore legacy locale encoding, and os.device_encoding() uses the locale encoding on Unix. So overriding it make sense.

But locale encoding and console cp are different on Windows. Users may want to know console cp even when they want to use UTF-8 by default for reading/writing text files.
Date User Action Args
2020-11-03 05:15:52methanesetrecipients: + methane, vstinner
2020-11-03 05:15:52methanesetmessageid: <>
2020-11-03 05:15:52methanelinkissue42236 messages
2020-11-03 05:15:50methanecreate