Ignore BOM correctly