[jdom-interest] Retrieving encoding from XML file content

MARRIS V marrisv at loveable.com
Wed Feb 16 09:55:41 PST 2005


Hi,
  I am a newbie in XML. I have a requirement where in i have to read in the encoding from the source XML file and set the encoding accordingly, 
Right now, i am hardcoding to UTF-16 /UTF-8 for certain feed assuming that it is going to match with the encoding of the source.

Is there any way through JDOM API where we can retrievethe encoding from an XML file.

Thanks in advance.

Regards,
Sriram
-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm




More information about the jdom-interest mailing list