表 14. 不同编码所用的BOM
编码类型 | BOM值(16进制) | BOM值(10进制) |
---|---|---|
UTF-8 | EF BB BF | 239 187 191 |
UTF-16 (BE) | FE FF | 254 255 |
UTF-16 (LE) | FF FE | 255 254 |
UTF-32 (BE) | 00 00 FE FF | 0 0 254 255 |
UTF-32 (LE) | FF FE 00 00 | 255 254 0 0 |
UTF-7 | 2B 2F 76 38 | 43 47 118 56 |
2B 2F 76 39 | 43 47 118 57 | |
2B 2F 76 2B | 43 47 118 43 | |
2B 2F 76 2F | 43 47 118 47 | |
UTF-1 | F7 64 4C | 247 100 76 |
UTF-EBCDIC | DD 73 66 73 | 221 115 102 115 |
SCSU | 0E FE FF | 14 254 255 |
BOCU-1 | FB EE 28 | 251 238 40 |
GB-18030 | 84 31 95 33 | 132 49 149 51 |