Here's the file I'm testing with.
<<Policy.xml>>
-----Original Message-----
From: Williamson, Siehnai [SMTP:[EMAIL PROTECTED]]
Sent: Monday, August 20, 2001 3:14 PM
To: '[EMAIL PROTECTED]'
Subject: Encoding problems
Hi,
I'm trying to parse (SAX parser) a document utilizing the UTF-16 encoding, but I keep getting an error.�
It appears that the line in XMLReader::XMLReader()
������� fEncoding = XMLRecognizer::basicEncodingProbe(...)
always returns fEncoding = UTF-8, eventhough the document's encoding is UTF-16.� Then I get a contradictory encoding error message.�� This also happens when I use UCS-4 encoding.�� I am currently using Xerces version 4.0.�
My document header does specify the "UTF-16" encoding, and it still throws an error.� Does the document have to look a certain way for it to work?
Is anyone having the same errors?� Please help.
Siehnai Williamson
DocuCorp International, Inc.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Policy.xml