Skip to content

Commit 2d936a4

Browse files
codecs docs: fix grammar mistake (GH-29462)
(cherry picked from commit ea56845) Co-authored-by: 180909 <[email protected]>
1 parent 23c0200 commit 2d936a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/codecs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,7 @@ there's the so called BOM ("Byte Order Mark"). This is the Unicode character
912912
``U+FEFF``. This character can be prepended to every ``UTF-16`` or ``UTF-32``
913913
byte sequence. The byte swapped version of this character (``0xFFFE``) is an
914914
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
915+
first character in a ``UTF-16`` or ``UTF-32`` byte sequence
916916
appears to be a ``U+FFFE`` the bytes have to be swapped on decoding.
917917
Unfortunately the character ``U+FEFF`` had a second purpose as
918918
a ``ZERO WIDTH NO-BREAK SPACE``: a character that has no width and doesn't allow

0 commit comments

Comments
 (0)