The byte order mark (BOM) is a Unicode character(U+FEFF) at the start of a text stream/file to signify the endianness and encoding used to a high level of confidence.
# utf-8
$ hexdump -C utf-8-bom.txt
00000000 ef bb bf 54 65 73 74 20 73 74 72 69 6e 67 20 e2 |...Test string .|
00000010 98 ba 0a |...|