tags:

views:

183

answers:

1

I am trying to parse an XML file with , but ran into an error message "invalid byte 2 of 2-byte UTF-8 sequence. Does anybody know what caused this problem? Thanks.

+1  A: 

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.

Ignacio Vazquez-Abrams