diff --git a/pep-0538.txt b/pep-0538.txt index 5c0f6966c..badd23535 100644 --- a/pep-0538.txt +++ b/pep-0538.txt @@ -190,7 +190,7 @@ relying on that setting change. As a result of that change, the ``LC_CTYPE=en_US.UTF-8`` legacy fallback was removed from the list of UTF-8 locales tried as a coercion target, with CPython -instead rely solely on the C locale text encoding bypass in such cases. +instead relying solely on the C locale text encoding bypass in such cases. Motivation @@ -563,7 +563,7 @@ for ``en_AU.UTF-8``), and one encoded with GB-18030 (the default encoding for ``zh_CN.gb18030``):: $ python3 -c 'open("utf8.txt", "wb").write("ℙƴ☂ℌøἤ\n".encode("utf-8"))' - $ python3 -c 'open("gb18030.txt", "wb"); f.write("ℙƴ☂ℌøἤ\n".encode("gb18030"))' + $ python3 -c 'open("gb18030.txt", "wb").write("ℙƴ☂ℌøἤ\n".encode("gb18030"))' On disk, we can see that these are two very different files::