Lines Matching refs:BOM
306 .. data:: BOM
317 These constants define various encodings of the Unicode byte order mark (BOM)
321 native byte order, :const:`BOM` is an alias for :const:`BOM_UTF16`,
323 :const:`BOM_UTF16_BE`. The others represent the BOM in UTF-8 and UTF-32
824 there's the so called BOM ("Byte Order Mark"). This is the Unicode character
835 Unicode software still must be able to handle ``U+FEFF`` in both roles: as a BOM
862 As UTF-8 is an 8-bit encoding no BOM is required and any ``U+FEFF`` character in
873 is written to the file, a UTF-8 encoded BOM (which looks like this as a byte
883 correctly guessed from the byte sequence. So here the BOM is not used to be able
888 three bytes in the file. In UTF-8, the use of the BOM is discouraged and
1305 :mod:`encodings.utf_8_sig` --- UTF-8 codec with BOM signature
1309 :synopsis: UTF-8 codec with BOM signature
1315 BOM will be prepended to the UTF-8 encoded bytes. For the stateful encoder this
1317 optional UTF-8 encoded BOM at the start of the data will be skipped.