What's the difference between UTF-8 and UTF-8 without BOM?

前端 未结 21 1848
佛祖请我去吃肉
佛祖请我去吃肉 2020-11-21 05:45

What\'s different between UTF-8 and UTF-8 without a BOM? Which is better?

21条回答
  •  萌比男神i
    2020-11-21 06:23

    UTF with a BOM is better if you use UTF-8 in HTML files and if you use Serbian Cyrillic, Serbian Latin, German, Hungarian or some exotic language on the same page.

    That is my opinion (30 years of computing and IT industry).

提交回复
热议问题