I am trying to parse an XML file with but ran into an error message invalid byte 2 of 2-byte UTF-8 sequence
invalid byte 2 of 2-byte UTF-8 sequence
Either the parser is set for UTF-8 even though the file is encoded otherwise, or the file is declared as using UTF-8 but it really doesn't.