https://en.wikipedia.org/w/index.php?title=Byte_order_mark&oldid=1059783325#UTF-8 This allows to read text files created by Windows users transparently, even if they contain a UTF-8 BOM.