We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23c0200 commit 2d936a4Copy full SHA for 2d936a4
Doc/library/codecs.rst
@@ -912,7 +912,7 @@ there's the so called BOM ("Byte Order Mark"). This is the Unicode character
912
``U+FEFF``. This character can be prepended to every ``UTF-16`` or ``UTF-32``
913
byte sequence. The byte swapped version of this character (``0xFFFE``) is an
914
illegal character that may not appear in a Unicode text. So when the
915
-first character in an ``UTF-16`` or ``UTF-32`` byte sequence
+first character in a ``UTF-16`` or ``UTF-32`` byte sequence
916
appears to be a ``U+FFFE`` the bytes have to be swapped on decoding.
917
Unfortunately the character ``U+FEFF`` had a second purpose as
918
a ``ZERO WIDTH NO-BREAK SPACE``: a character that has no width and doesn't allow
0 commit comments