File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -989,8 +989,8 @@ defined in Unicode. A simple and straightforward way that can store each Unicode
989989code point, is to store each code point as four consecutive bytes. There are two
990990possibilities: store the bytes in big endian or in little endian order. These
991991two encodings are called ``UTF-32-BE `` and ``UTF-32-LE `` respectively. Their
992- disadvantage is that if e.g. you use ``UTF-32-BE `` on a little endian machine you
993- will always have to swap bytes on encoding and decoding.
992+ disadvantage is that if, for example, you use ``UTF-32-BE `` on a little endian
993+ machine you 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
You can’t perform that action at this time.
0 commit comments