Skip to content

Commit ea56845

Browse files
authored
codecs docs: fix grammar mistake (GH-29462)
1 parent 3df0e63 commit ea56845

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/codecs.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,7 @@ there's the so called BOM ("Byte Order Mark"). This is the Unicode character
915915
``U+FEFF``. This character can be prepended to every ``UTF-16`` or ``UTF-32``
916916
byte sequence. The byte swapped version of this character (``0xFFFE``) is an
917917
illegal character that may not appear in a Unicode text. So when the
918-
first character in an ``UTF-16`` or ``UTF-32`` byte sequence
918+
first character in a ``UTF-16`` or ``UTF-32`` byte sequence
919919
appears to be a ``U+FFFE`` the bytes have to be swapped on decoding.
920920
Unfortunately the character ``U+FEFF`` had a second purpose as
921921
a ``ZERO WIDTH NO-BREAK SPACE``: a character that has no width and doesn't allow

0 commit comments

Comments
 (0)