How to add or remove a byte order mark
blog.toshredsyousay.com
How to add or remove a byte order mark
1–3 of 3 posts
Re: How to add or remove a byte order mark
#2Is there any reason to add a BOM to a UTF-8 file?
Re: How to add or remove a byte order mark
#3Is there any reason to add a BOM to a UTF-8 file?
The only reason I can think of is it might be used to identify the encoding as UTF-8. Could be useful for parsers when the encoding type is not specified, say in the XML declaration, or when there is a mismatch between the BOM and the declaration? Other than that, it's unecessary.