2 ms·
Text 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.h
by maxerickson 11y ago
Text 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)