PEP 686 – Make UTF-8 mode default | peps.python.org
Author:
Inada Naoki <songofacandy at gmail.com>
Discussions-To:
Discourse thread
Status:
Accepted
Type:
Standards Track
Created:
18-Mar-2022
Python-Version:
3.15
Post-History:
18-Mar-2022,
31-Mar-2022
Resolution:
Discourse message
Table of Contents
Abstract
Motivation
Specification
Enable UTF-8 mode by default
locale.getencoding()
Fixing encoding="locale" option
Backward Compatibility
Preceding examples
Rejected Alternative
Deprecate implicit encoding
Use PYTHONIOENCODING for PIPEs
How to teach ...
Read more at peps.python.org