On 2/2/2012 12:17, John J. Boyer wrote:
How do I find the encoding of an xml document? My Braille transcription software requires UTF-8.
What are you trying to do?
If you need to get parsed document encoding I guess it's stored in xmlDoc.encoding field and probably in parser context as well. If you want to guess what encoding your document is in before passing to parser - try xmlDetectCharEncoding().
Thanks,
_______________________________________________ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org/mailman/listinfo/xml