Title: Problem parsing file with encoding="IS0-8859-2"

Hi Community,

I am working on converting one XML file to another file format.
The source file is starts like this:-

<?xml version="1.0" encoding="ISO-8859-2"?>

While parsing this file I get this error:-
Fatal Error at file "filename.xml", line 1, column 44
   Message: An exception occurred! Type:TranscodingException, Message:Could not create a converter for encoding: ISO-8859-2

When I change the source file start to :-
<?xml version="1.0" encoding="ISO-8859-1"?>

(notice the encoding…I have changed it to IS0-8859-1) the program works properly…and I don’t get any error.

Can any one tell me how do I still keep the program running using ISO-8858-2 encoding.

Regards,
MRUKANT



***********************************************************************************
Information contained in this email message is intended only for use of the
individual or entity named above. If the reader of this message is not the
intended recipient, or the employee or agent responsible to deliver it to
the intended recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited. If you
have received this communication in error, please immediately notify the
[EMAIL PROTECTED] and destroy the original message.
**************************************************************************************

Reply via email to