What is UTF-2? According to http://www.unicode.org/glossary/index.html, "There are seven character encoding schemes in Unicode: UTF-8, UTF-16, UTF-16BE, UTF-16LE, UTF-32, UTF-32BE and UTF-32LE." It looks to me like your file specifies an invalid encoding.
> -----Original Message----- > From: Agrawal, Vikas (ELS) [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 09, 2003 5:49 AM > To: '[EMAIL PROTECTED]' > Subject: Exception for UTF-2 encoding > > > Hi All, > > I am using xml4c 2.2.0 and parsing one of my file using DOMBuilder. > It is failing to recognize UTF-2 with the message > > "An exception occurred! Type:TranscodingException, > Message:Could not create > a converter for encoding: UTF-2" > > Can anybody help? > > Thanks & Regards > Vikas Agrawal > > ps: attaching xml file with processing instruction as follows "<?xml > version="1.0" encoding="utf-2"?>" > > <<xml502bfail.xml>> > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
