[jdom-interest] how to discover the encoding of an XML

Terenzio Berni tberni at dianoema.it
Fri Jul 23 02:55:18 PDT 2004

It is possible to know what encoding was used while building a Document 
(via SaxBuilder).
I have an XML that starts with the declaration:
<?xml version="1.0" encoding="UTF-8"?>
and I need to know that the encoding used was UTF-8.

Regards, Terenzio
/"\     Ing. Terenzio Berni
\ /    ASCII Ribbon Campaign
  X   against HTML email & vCards
/ \

More information about the jdom-interest mailing list