I can't see from the docs how to get encoded data back
You might not be able to. The whole point of the parser is to extract the information represented by the XML document, no matter how it's encoded using XML.
You shouldn't have to care whether "Ú" is stored as Ú, bytes C3 9A (in an XML document that uses UTF-8), or byte DA (in an XML document that uses cp1252). Nor should you want to know.
In reply to Re^5: UTF-8 and XML::LibXML
by ikegami
in thread UTF-8 and XML::LibXML
by davies
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |