26 Jan
2021
26 Jan
'21
7:06 a.m.
On Tue, Jan 26, 2021 at 3:07 PM Guido van Rossum <guido@python.org> wrote:
I agree that. But until we switch to the default encoding of open(), we must recommend to avoid `open(filename)` anyway. The default encoding of VS Code, Atom, Notepad is already UTF-8.
Maybe, we need to update the tutorial (*) to use `encoding="utf-8"`.
Telling people to always add `encoding='utf8'` makes much more sense to me than introducing a new function and telling them to do that.
Ok, I will not add open_utf8() to PEP 597, and update the tutorial to recommend `encoding="utf-8"`. -- Inada Naoki <songofacandy@gmail.com>