On Tue, Jan 26, 2021 at 3:07 PM Guido van Rossum <gu...@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 <songofaca...@gmail.com> _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/HXJKDIZUF6TMMHHPDZWQ3PYPFLXX6C66/ Code of Conduct: http://python.org/psf/codeofconduct/