File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -994,7 +994,7 @@ will always have to swap bytes on encoding and decoding.
994994Python's ``UTF-32 `` codec avoids this problem by using the platform's native byte
995995order 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
997- practice so native-endian data round-trips without redundant byte swapping,
997+ practice, so native-endian data round-trips without redundant byte swapping,
998998even though the Unicode Standard defaults to big-endian when the byte order is
999999unspecified. When these bytes are read by a CPU with a different endianness,
10001000then bytes have to be swapped though. To be able to detect the endianness of a
You can’t perform that action at this time.
0 commit comments