Skip to content

Commit 171869f

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

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
@@ -996,7 +996,7 @@ order when no BOM is present. The plain ``UTF-16`` codec (without a ``-BE`` or
996996
``-LE`` suffix) behaves the same way. Python follows prevailing platform
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
999-
unspecified.When these bytes are read by a CPU with a different endianness,
999+
unspecified. When these bytes are read by a CPU with a different endianness,
10001000
then bytes have to be swapped though. To be able to detect the endianness of a
10011001
``UTF-16`` or ``UTF-32`` byte sequence, there's the so called BOM ("Byte Order Mark").
10021002
This is the Unicode character ``U+FEFF``. This character can be prepended to every

0 commit comments

Comments
 (0)