Skip to content

Commit 9204430

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

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
@@ -998,7 +998,7 @@ 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,
10001000
then bytes have to be swapped though. To be able to detect the endianness of a
1001-
``UTF-16`` or ``UTF-32`` byte sequence, there's the so called BOM ("Byte Order Mark").
1001+
``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
10041004
(``0xFFFE``) is an illegal character that may not appear in a Unicode text.

0 commit comments

Comments
 (0)