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-8,但是当用户在 ANSI 中查看它时,一开始就会出现未知字符。我正在使用 C#。
谢谢。
这是一个字节顺序标记。 http://en.wikipedia.org/wiki/Byte_order_mark
字节顺序标记 (BOM) 是一个 Unicode 字符,用于表示文本文件或流的字节顺序(字节顺序)。