Hi Friends,

Steps for compiling XERCESC so that ICU becomes transcoding engine


For LINUX:-
1)  export XERCESCROOT=<path to xercesc root (source) folder>
2)  cd $XERCESC/src/xercesc
3)  ./runConfigure -plinux -cgcc -xg++ -micu -nsocket -ticu -rpthread
4)  gmake

For more info visit :-
http://xml.apache.org/xerces-c/build-winunix.html#UNIX

Regards,
MRUKANT

-----Original Message-----
From: Alberto Massari [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 19, 2005 6:26 PM
To: John O'Donnell
Cc: [email protected]
Subject: Re: Problem parsing file with encoding="IS0-8859-2"

Hi John,

At 13.26 19/07/2005 +0100, John O'Donnell wrote:
>Hi,
>
>Quick question about your email below if you dont mind me asking. 
>How exactly do you rebuild Xerces so ICU becomes the transcoding
engine?

If you are on a Unix platform, just make sure you set ICUROOT to the
location where ICU resides and then run runConfigure specifying the
option "-t icu"

Alberto

>Cheers,
>
>John
>
>
>----- Original Message ----- From: "Alberto Massari" 
><[EMAIL PROTECTED]>
>To: <[email protected]>
>Sent: Tuesday, July 19, 2005 9:32 AM
>Subject: Re: Problem parsing file with encoding="IS0-8859-2"
>
>
>>Hi Mrukant,
>>Xerces has a limited number of built-in transcoders; iso-8859-1 is 
>>included, but iso-8859-2 is not. You should rebuild it using ICU as 
>>the transcoding engine, that adds a lot of them.
>>
>>Hope this helps,
>>Alberto
>>
>>At 13.21 19/07/2005 +0530, Popat, Mrukant wrote:
>>
>>>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.
>>>*********************************************************************
>>>*****************
>>
>


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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to