When your XML input isn't encoded in UTF-8, the Unmarshal function of the xml package seems to require a CharsetReader.
Unmarshal
CharsetReader
Where do you find such a thing ?
1.4m articles
1.4m replys
5 comments
57.0k users