XML processors are only required to support UTF-8 and UTF-16.  Xerces-C
supports more encodings than that, but it does not support UTF-2.

Dave



                                                                                       
                                                           
                      "Agrawal, Vikas                                                  
                                                           
                      (ELS)"                   To:      "'[EMAIL PROTECTED]'" <[EMAIL 
PROTECTED]>                             
                      <[EMAIL PROTECTED]         cc:      (bcc: David N 
Bertoni/Cambridge/IBM)                                                      
                      ier.co.uk>               Subject: RE: Exception for UTF-2 
encoding                                                          
                                                                                       
                                                           
                      09/09/2003 09:13                                                 
                                                           
                      AM                                                               
                                                           
                      Please respond                                                   
                                                           
                      to xerces-c-dev                                                  
                                                           
                                                                                       
                                                           



Please look at http://www.chedong.com/phpMan.php/man/utf2/4

-----Original Message-----
From: Jesse Pelton [mailto:[EMAIL PROTECTED]
Sent: 09 September 2003 17:11
To: '[EMAIL PROTECTED]'
Subject: RE: Exception for UTF-2 encoding


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]

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