Thanks Tinny,

I finally went for IconvGNU use as a transcoder, instead of 'native'. ICU is
a too heavy change for us now.

Maybe the online documentation could be improved on that important topic :

. Emphasis is brought on ICU, and very little on iconv

. XML4C is said to be licensed as Apache+X, which is nice, but on IBM
download site, it is something like 90 days evaluation, all rights at IBM

. IconvGNU is not listed as a possible value for -t compilation flag on the
web site (only icu, Iconv400, Iconv390, IconvFBSD are), whereas it is the
Linux iconv. Shared libraries are located under /usr/lib/gconv/*.so in
Redhat 8 for example. (only   -t <transcoder> can be 'icu', 'Iconv400',
'Iconv390', 'IconvFBSD' or 'native')

. Iconv should be the default transcoder instead of native ? This means
replacing the example build line located in
http://xml.apache.org/xerces-c/build-winunix.html#UNIX :
runConfigure -plinux -cgcc -xg++ -minmem -nsocket -tnative -rpthread
by
runConfigure -plinux -cgcc -xg++ -minmem -nsocket -tIconvGNU -rpthread


Well, it's just thoughts, but all that would have saved us a bunch of time.

Thanks again




-----Message d'origine-----
De : Tinny Ng [mailto:tng-xml@;ca.ibm.com]
Envoy� : mercredi 13 novembre 2002 19:47
� : [EMAIL PROTECTED]
Objet : Re: problem with Japanese under Linux Redhat 8.0


Nikko,

By default, Xerces-C++ binary is built with native transcoder and the number
of encoding supported depends the ability of the system.   So your Windows
system library may support Shift-JIS while your Linux system doesn't.

If you don't want to rely on the system, then you can rebuild your parser
using ICU Transcoder which supports over 100 different encodings.  See
    http://xml.apache.org/xerces-c/build-misc.html#ICUPerl
and
    http://xml.apache.org/xerces-c/faq-distrib.html#faq-2
for details.

Tinny

----- Original Message -----
From: "Nikko" <[EMAIL PROTECTED]>
To: "mailing list xercesc" <[EMAIL PROTECTED]>
Sent: Wednesday, November 13, 2002 6:20 AM
Subject: problem with Japanese under Linux Redhat 8.0


> Hi,
> we have a xerces-c SAX parser running well under Windows/Visual C++, on
> Japanese content, but when porting it under Linux Redhat 8.0, using gcc
3.2,
> we have the following message : "could not create a converter for : SHIFT
> JIS". Any idea ?
>
> Thanks for your help
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.413 / Virus Database: 232 - Release Date: 06/11/2002
>
>
> ---------------------------------------------------------------------
> 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]

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.417 / Virus Database: 233 - Release Date: 08/11/2002

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.417 / Virus Database: 233 - Release Date: 08/11/2002


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

Reply via email to