If you go to this link:
http://www.jdom.org/pipermail/jdom-interest/2004-November/014348.html
it seems to suggest that there are a us-only and international version
of the jdk.  Only the latter includes the full set of encodings. 

-----Original Message-----
From: Stuart [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 24, 2004 1:19 AM
To: [EMAIL PROTECTED]
Subject: encoding "MS950" not supported

Hi,

I am trying to parse the following XML file using the apache xml parser:

        <?xml version="1.0" encoding="MS950"?>
        <VxmlConfig eventThreads="100" documentDir="./tmp/vxml/"
rmiPort="5555">
                <NumberMapping number="7933105" url="./calc.vxml"/>
                <NumberMapping number="888" url="./helloWorld.vxml"/>
        </VxmlConfig>

However I keep getting the following exception:

        org.xml.sax.SAXParseException: The encoding "MS950" is not
supported

I have checked that the jdk I am using (jdk1.4) supports this encoding
format
(http://java.sun.com/j2se/1.4.2/docs/guide/intl/encoding.doc.html).
Also the following simple program works:

                        String test = "hello";
                        byte[] bytes = test.getBytes("MS950");

I have tried running the parser on a Chinese version of windows but it
still
did not work.

Please help!  Any suggestions would be much appreciated.  Is this a
problem
with the parser, my jdk or my os?

Thanks,

Stuart



---------------------------------------------------------------------
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