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

前端 未结 6 1304
北荒
北荒 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:41

    • Your bandwidth consumption is likely to nearly double, assuming most of your HTML is ASCII
    • Clients which incorrectly assume UTF-8 (or ASCII) will be confused

    Why do you want to change to UTF-16?

提交回复
热议问题