Handle 'with BOM' UTF encodings.