# PEP 686: Make UTF-8 mode default

**URL:** <https://discuss.python.org/t/pep-686-make-utf-8-mode-default/14435>\
**Category:** PEPs\
**Created:** [March 18, 2022, 11:00am UTC](https://discuss.python.org/t/pep-686-make-utf-8-mode-default/14435 "2022-03-18T11:00:31Z")\
**Posts on this page:** 1\
**Showing post:** 59

<div class="post-metadata">

**Author:** ![methane](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/methane/32/43_2.png) [@methane](https://discuss.python.org/u/methane)\
**Post date:** [April 27, 2022, 1:54pm UTC](https://discuss.python.org/t/pep-686-make-utf-8-mode-default/14435/59 "2022-04-27T13:54:21Z")

</div>

By the way, the latest discussion thread was here.

> [@PEP 686: Make UTF-8 mode default (Round 2)](https://discuss.python.org/t/pep-686-make-utf-8-mode-default-round-2/14737):
>
> I updated the [PEP 686](https://peps.python.org/pep-0686/) based on discussions in [the previous topic](https://discuss.python.org/t/pep-686-make-utf-8-mode-default/14435). Major changes from the previous version: Target Python version changed from 3.12 to 3.13. Add locale.getencoding() instead of changing locale.getpreferredencoding(False) to ignore UTF-8 mode. locale.getpreferredencoding() will emit EncodingWarning because UTF-8 mode affects it (opt-in). Add section about encoding="locale" behavior. Add “Use PYTHONSTDIOENCODING for PIPEs” section to rejected ideas. [Abstract](#abstract) This PEP prop…

Maybe, creating new thread after update PEP was bad idea.

---

_[View the full topic](https://discuss.python.org/t/pep-686-make-utf-8-mode-default/14435)._
