Byte Order Mark (BOM) 須知

 

Bytes

Encoding Form

00 00 FE FF UTF-32, big-endian
FF FE 00 00 UTF-32, little-endian
FE FF UTF-16, big-endian
FF FE UTF-16, little-endian
EF BB BF UTF-8

Byte Order Mark [BOM]:0xFEFF
FE FF
==> High Byte FE
               Lower Byte FF

參考資源:http://www.websina.com/bugzero/kb/unicode-bom.html

沒有留言: