View source code
Display the source code in std/encoding.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone.

Enum std.encoding.BOM

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

enum BOM : int { ... }

Enum members

NameDescription
bocu1 [0xFB, 0xEE, 0x28]
gb18030 [0x84, 0x31, 0x95, 0x33]
none no BOM was found
scsu [0x0E, 0xFE, 0xFF]
utf1 [0xF7, 0x64, 0x4C]
utf16be [0xFE, 0xFF]
utf16le [0xFF, 0xFE]
utf32be [0x00, 0x00, 0xFE, 0xFF]
utf32le [0xFF, 0xFE, 0x00, 0x00]
utf7 [0x2B, 0x2F, 0x76, 0x38] [0x2B, 0x2F, 0x76, 0x39], [0x2B, 0x2F, 0x76, 0x2B], [0x2B, 0x2F, 0x76, 0x2F], [0x2B, 0x2F, 0x76, 0x38, 0x2D]
utf8 [0xEF, 0xBB, 0xBF]
utfebcdic [0xDD, 0x73, 0x66, 0x73]

Authors

Janice Caron

License

Boost License 1.0.