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

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

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

21条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-21 06:28

    It should be noted that for some files you must not have the BOM even on Windows. Examples are SQL*plus or VBScript files. In case such files contains a BOM you get an error when you try to execute them.

提交回复
热议问题