3 ms·
I'm pretty sure that is not true. I don't think that py3k strings even have a default encoding per se.
by zokier 11y ago
I'm pretty sure that is not true. I don't think that py3k strings even have a default encoding per se.
- maxerickson 11y agoText mode file IO defaults to a platform specific encoding: https://docs.python.org/3/library/functions.html#open https://docs.python.org/3/library/functions.html#open (which will probably be UTF-8 on recent systems that are not Windows)