Table of Contents

BOM (byte order mark)

About

The byte order mark (BOM) is a magic number (header) (Unicode character, U+FEFF BYTE ORDER MARK (BOM)

It is not a character, but a byte sequence at the beginning of the file.

It can be found at the start of a text file and indicates

Library

If you pass a character set to a file reader, you don't need to handle the BOM.

Documentation / Reference