support XML parsing with alternate encodings