Skip to content

Commit abfb864

Browse files
committed
Add references to UTF-8 and Unicode
1 parent ff066b1 commit abfb864

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Doc/whatsnew/3.15.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,12 @@ New features
7575
Other language changes
7676
======================
7777

78-
* Python now uses UTF-8 as the default encoding, independent of the system's
78+
* Python now uses UTF-8_ as the default encoding, independent of the system's
7979
environment. This means that I/O operations without an explicit encoding,
8080
e.g. ``open('flying-circus.txt')``, will use UTF-8.
81+
UTF-8 is a widely-supported Unicode_ character encoding that has become a
82+
*de facto* standard for representing text, including nearly every webpage
83+
on the internet, many common file formats, programming languages, and more.
8184

8285
This only applies when no ``encoding`` argument is given. For best
8386
compatibility between versions of Python, ensure that an explicit ``encoding``
@@ -92,6 +95,9 @@ Other language changes
9295

9396
.. seealso:: :pep:`686` for further details.
9497

98+
.. _UTF-8: https://en.wikipedia.org/wiki/UTF-8
99+
.. _Unicode: https://home.unicode.org/
100+
95101
(Contributed by Adam Turner in :gh:`133711`; PEP 686 written by Inada Naoki.)
96102

97103
New modules

0 commit comments

Comments
 (0)