Skip to content

Commit b0fa2ba

Browse files
Update Doc/library/codecs.rst
Co-authored-by: Stan Ulbrych <[email protected]>
1 parent 9204430 commit b0fa2ba

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
@@ -997,7 +997,7 @@ order when no BOM is present. The plain ``UTF-16`` codec (without a ``-BE`` or
997997
practice, so native-endian data round-trips without redundant byte swapping,
998998
even though the Unicode Standard defaults to big-endian when the byte order is
999999
unspecified. When these bytes are read by a CPU with a different endianness,
1000-
then bytes have to be swapped though. To be able to detect the endianness of a
1000+
the bytes have to be swapped. To be able to detect the endianness of a
10011001
``UTF-16`` or ``UTF-32`` byte sequence, a BOM ("Byte Order Mark") is used.
10021002
This is the Unicode character ``U+FEFF``. This character can be prepended to every
10031003
``UTF-16`` or ``UTF-32`` byte sequence. The byte swapped version of this character

0 commit comments

Comments
 (0)