What's a BOM?

John Zukowski

BOM stands for Byte Order Mark and could be the initial bytes of a UTF-encoded stream, typically used to indicate endianess of the stream. Prior to Java 6, if present, your program needed to handle it for itself (skip it). See http://www.unicode.org/unicode/faq/utf_bom.html for the set of BOM indicators.