@Test
public void testGetXmlProlog_Cp1047() throws IOException {

    final InputStream input = stringToStream("<?xml encoding=\"CP1047\"?>", "CP1047");
    final String guessedEncoding = "CP1047";
    assertEquals("CP1047", XmlReader.getXmlProlog(input, guessedEncoding));
}