Try UTF-8 instead.

-----Original Message-----
From: Jin Zhao [mailto:[EMAIL PROTECTED]
Sent: Monday, June 25, 2001 12:32 PM
To: [EMAIL PROTECTED]
Subject: the encoding "ASCII" is not supported


Hi geeks,

When using jdom to parse a document, I got the following exeption:
----------------------------------------------------------------------------
----------------------
java.io.IOException: Error on line 0 of XML document: The encoding "ASCII"
is not supported.
        at
org.jdom.adapters.XercesDOMAdapter.getDocument(XercesDOMAdapter.java:145)
----------------------------------------------------------------------------
----------------------

The problem seems to be originated from Xerces, because no such error
happens when I use an old version of xml4j parser. 

Does anybody has good idea on this problem ?

Thanks,

Jin


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to