Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这些字节代表 UTF-32LE 中的单词“hi”:
FF FE 00 00 68 00 00 00 69 00 00 00
然而,这是记事本显示的内容:
记事本不支持 UTF-32,仅支持 ANSI、UTF-8 和 UTF-16。它将前 2 个字节解释为 UTF-16LE BOM,而不是将前 4 个字节解释为 UTF-32LE BOM,因此文件字节被解释为
FF FE
00 00
68 00
69 00
代替
FF FE 00 00
68 00 00 00
69 00 00 00