[issue46143] [docs] IO > Text Encoding info outdated

2021-12-21 Thread Eryk Sun
Eryk Sun added the comment: The rare circumstance in which UTF-8 mode gets enabled automatically is described in the following paragraph [1]: If the PYTHONUTF8 environment variable is not set at all, then the interpreter defaults to using the current locale settings, unless the

[issue46143] [docs] IO > Text Encoding info outdated

2021-12-20 Thread Inada Naoki
Inada Naoki added the comment: UTF-8 mode is not enabled by default. So locale encoding is still the default encoding. -- nosy: +methane ___ Python tracker ___

[issue46143] [docs] IO > Text Encoding info outdated

2021-12-20 Thread David Gilbertson
New submission from David Gilbertson : On this page: https://docs.python.org/3/library/io.html#text-encoding it says "there is no concrete plan as of yet, Python may change the default text file encoding to UTF-8 in the future". On this page