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 @@ -1002,8 +1002,8 @@ then bytes have to be swapped though. To be able to detect the endianness of a
10021002This 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.
1005- So when the first character in a ``UTF-16 `` or ``UTF-32 `` byte sequence appears to be
1006- a ``U+FFFE `` the bytes have to be swapped on decoding.
1005+ When the first character of a ``UTF-16 `` or ``UTF-32 `` byte sequence is
1006+ ``U+FFFE ``, the bytes have to be swapped on decoding.
10071007
10081008Unfortunately the character ``U+FEFF `` had a second purpose as
10091009a ``ZERO WIDTH NO-BREAK SPACE ``: a character that has no width and doesn't allow
You can’t perform that action at this time.
0 commit comments