wire / magic /
utf16-bom-le
UTF-16 LE BOM (FF FE) A UTF-16 little-endian byte-order mark is the 2-byte sequence 0xFF 0xFE — the LE serialization of U+FEFF. The reversed order 0xFE 0xFF signals UTF-16 big-endian. The BOM lets a decoder pick the byte order of the following UTF-16 text.
magic kind signature status standard verification verified tier B file-signature@1
aka: UTF-16 BOM · UTF-16LE BOM · FF FE · byte order mark
file signature magic: FF FE⧉ copy @ offset 0
ascii: \xff\xfe
.txt text/plain
spec: The Unicode Standard (U+FEFF byte order mark)
FF FE = UTF-16 little-endian BOM; FE FF = UTF-16 big-endian BOM. Both are the encoding of U+FEFF in the respective byte order. CAUTION: a UTF-32LE BOM is FF FE 00 00, which begins with the same two bytes as the UTF-16LE BOM — check the following bytes to disambiguate. Without a BOM, UTF-16 defaults to big-endian per the Unicode standard, though in practice little-endian is common on Windows.
agent: curl -H 'accept: application/json' wire.phall.io/magic/utf16-bom-le⧉ copy
or /magic/utf16-bom-le.json ⧉ copy
wire.phall.io ⌘K search main ✓