How do browsers determine the encoding used?

后端 未结 3 1497
情书的邮戳
情书的邮戳 2021-02-06 15:45

I do understand there are 2 ways to set the encoding:

  1. By using Content-Type header.
  2. By using meta tags in HTML

Since Content-Type header is

3条回答
  •  耶瑟儿~
    2021-02-06 16:26

    It is set in the like this:

    I think if this is not set in the head the browser will set a default encoding.

提交回复
热议问题