xerces-j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Huynh, Lynn T." <lynn.hu...@unisys.com>
Subject Question regarding getting xml document encoding type
Date Wed, 09 Jan 2008 22:57:49 GMT
Hi,
I'm using SAX to parse XML documents, and have a need to know the
encoding type that was declared in the XML document.  For example, if
the XML document has this:
<?xml version="1.0" encoding="UTF-8" ?> 

I would like to receive the "UTF-8". I'm a newbie to XML parsing.  I've
searched, but not able to find out a way to get such information.  Would
you please give me some suggestion as to what I can do to get this
information?  

Thank you in advance.
Lynn Huynh

---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org


Mime
View raw message