Support UTF-8 BOM