What could go wrong in switching HTML encoding from UTF-8 to UTF-16?

前端 未结 6 1274
北荒
北荒 2021-01-13 02:44

What are the implications of a change from UTF-8 to UTF-16 for HTML encoding? I would like to know your thoughts on the issue. Are there things I need to think of before m

6条回答
  •  执念已碎
    2021-01-13 03:19

    There is also the byte order which becomes an issue with anything above 8-bit data. UTF encoded files begin with a byte order mark which is used to determine the byte order, or endianness, of that file.

    Wikipedia has a quite good explanation of this.

提交回复
热议问题