Is there any disadvantage of using: text/plain; charset=“UTF-8”

后端 未结 3 2258
萌比男神i
萌比男神i 2021-02-18 13:01

My web server serves content that is in 95% of the time just simple ascii. However in some rare cases, the content contains some German non-ascii characters.

Now I coul

3条回答
  •  無奈伤痛
    2021-02-18 13:42

    ASCII is a subset of UTF-8, so it is perfectly safe to declare the charset as utf-8 for an all-ASCII document.

提交回复
热议问题