The OpenD Programming Language

BOM

Definitions of common Byte Order Marks. The elements of the enum can used as indices into bomTable to get matching BOMSeq.

Values

ValueMeaning
none0

no BOM was found

utf32be1

[0x00, 0x00, 0xFE, 0xFF]

utf32le2

[0xFF, 0xFE, 0x00, 0x00]

utf73

[0x2B, 0x2F, 0x76, 0x38] [0x2B, 0x2F, 0x76, 0x39], [0x2B, 0x2F, 0x76, 0x2B], [0x2B, 0x2F, 0x76, 0x2F], [0x2B, 0x2F, 0x76, 0x38, 0x2D]

utf18

[0xF7, 0x64, 0x4C]

utfebcdic9

[0xDD, 0x73, 0x66, 0x73]

scsu10

[0x0E, 0xFE, 0xFF]

bocu111

[0xFB, 0xEE, 0x28]

gb1803012

[0x84, 0x31, 0x95, 0x33]

utf813

[0xEF, 0xBB, 0xBF]

utf16be14

[0xFE, 0xFF]

utf16le15

[0xFF, 0xFE]

Meta