Skip to content

bpo-42236: os.device_encoding() respects UTF-8 Mode#23119

Merged
vstinner merged 2 commits intopython:masterfrom
vstinner:device_encoding
Nov 4, 2020
Merged

bpo-42236: os.device_encoding() respects UTF-8 Mode#23119
vstinner merged 2 commits intopython:masterfrom
vstinner:device_encoding

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Nov 2, 2020

On Unix, the os.device_encoding() function now returns 'UTF-8' rather
than the device encoding if the Python UTF-8 Mode is enabled.

https://bugs.python.org/issue42236

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants