Closed drewrey closed 7 years ago
Here is an example screenshot:
Perhaps instead of sys.stdout.encoding
, this should be handled with sys.getfilesystemencoding? In particular:
Changed in version 3.2: getfilesystemencoding() result cannot be None anymore.
Sweet. I'll take a closer look this weekend. :)
@drewrey Sounds logical to use getfilesystemencoding. :+1:
@bjarneo updated accordingly.
Awesome! Thank you!
sys.stdout.encoding
. When can this value beNone
, and how should that be handled?~~ PS: see this commentsys.getfilesystemencoding
when decoding.