[xml] What is the document's encoding?
- From: Bill Moseley <moseley hank org>
- To: xml gnome org
- Subject: [xml] What is the document's encoding?
- Date: Mon, 20 Dec 2004 07:49:41 -0800
I'm using SAX and parsing both xml and html docs. Can I find out
what encoding the original document was in (or was converted from)?
I can use ctxt->input->encoding to get the encoding specified in a
meta http-equiv, but what I want to know is what encoding libxml2
thought the document was in when it was parsed. And also what
encoding was assumed if a charset is not specified in the source doc.
Thanks,
--
Bill Moseley
moseley hank org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]