From 92006e843eaa3f4da4c4b6f2feaab72980ee42e1 Mon Sep 17 00:00:00 2001 From: Inada Naoki Date: Thu, 31 Mar 2022 13:21:35 +0900 Subject: [PATCH] PEP 686: Update Post-History --- pep-0686.rst | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pep-0686.rst b/pep-0686.rst index 9d24934b6e4..3f2e1bd810a 100644 --- a/pep-0686.rst +++ b/pep-0686.rst @@ -7,7 +7,8 @@ Type: Standards Track Content-Type: text/x-rst Created: 18-Mar-2022 Python-Version: 3.13 -Post-History: `18-Mar-2022 `__ +Post-History: `18-Mar-2022 `__, + `31-Mar-2022 `__ Abstract @@ -104,10 +105,10 @@ This is the guideline to fix this backward compatibility issue: 2. Use ``EncodingWarning`` (:pep:`597`) to find every places UTF-8 mode affects. - * If ``encoding`` option is omitted, consider using ``encoding="utf-8"`` - or ``encoding="locale"``. - * If ``locale.getpreferredencoding()`` is used, consider using - ``"utf-8"`` or ``locale.getencoding()``. + * If ``encoding`` option is omitted, consider using ``encoding="utf-8"`` + or ``encoding="locale"``. + * If ``locale.getpreferredencoding()`` is used, consider using + ``"utf-8"`` or ``locale.getencoding()``. 3. Test the application with UTF-8 mode.