Relative Content

Tag Archive for unicodeutf-8byte-order-mark

How to handle this subtle ambiguity of UTF-8 BOM?

The UTF-8 encoding allows both having and not having a BOM at the beginning of the byte sequence. This seems to create a subtle ambiguity, because the BOM itself represents the Unicode character U+FEFF.