in reply to Re^19: Weird error log message
in thread Weird error log message

Quote previously linked document (emphasis mine): While UTF-8 does not have byte order issues, a BOM encoded in UTF-8 may nonetheless be encountered. A UTF-8 BOM is explicitly allowed by the Unicode standard, but is not recommended, as it only identifies a file as UTF-8 and does not state anything about byte order.

I didn't understand it. What is Byte Order and why is it important?

Replies are listed 'Best First'.
Re^21: Weird error log message
by ikegami (Pope) on Jun 17, 2009 at 17:36 UTC

    What is Byte Order

    "A byte-order mark [...] is used to denote the endianness of a string"

    why is it important

    "A UTF-8 BOM [...] does not state anything about byte order" since only one byte ordering is allowed for UTF-8.