What's the difference between UTF-8 and UTF-8 without BOM?
问题 What\'s different between UTF-8 and UTF-8 without a BOM? Which is better? 回答1: The UTF-8 BOM is a sequence of Bytes at the start of a text-stream (EF BB BF) that allows the reader to more reliably guess a file as being encoded in UTF-8. Normally, the BOM is used to signal the endianness of an encoding, but since endianness is irrelevant to UTF-8, the BOM is unnecessary. According to the Unicode standard, the BOM for UTF-8 files is not recommended : 2.6 Encoding Schemes ... Use of a BOM is