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 dc9322a commit bf0f04fCopy full SHA for bf0f04f
Doc/library/codecs.rst
@@ -909,7 +909,7 @@ there's the so called BOM ("Byte Order Mark"). This is the Unicode character
909
``U+FEFF``. This character can be prepended to every ``UTF-16`` or ``UTF-32``
910
byte sequence. The byte swapped version of this character (``0xFFFE``) is an
911
illegal character that may not appear in a Unicode text. So when the
912
-first character in an ``UTF-16`` or ``UTF-32`` byte sequence
+first character in a ``UTF-16`` or ``UTF-32`` byte sequence
913
appears to be a ``U+FFFE`` the bytes have to be swapped on decoding.
914
Unfortunately the character ``U+FEFF`` had a second purpose as
915
a ``ZERO WIDTH NO-BREAK SPACE``: a character that has no width and doesn't allow
0 commit comments