xerces-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Stewart" <jason.e.stew...@gmail.com>
Subject Re: SVN compile gives chinese messages?
Date Fri, 25 Aug 2006 11:44:39 GMT
Hey Alby,

On 8/25/06, Alberto Massari <amassari@datadirect.com> wrote:

> >On 8/24/06, David Cargill <cargilld@ca.ibm.com> wrote:
> My doubts come from this encoding table in the IconvGNUTransService.cpp:
>
> static const IconvGNUEncoding    gIconvGNUEncodings[] = {
>      { "UCS-2LE",        2,    LITTLE_ENDIAN },
>      { "ucs-2-internal",        2,    LITTLE_ENDIAN },
>      { NULL, 0,    0 }
> };
>
> The last entry is LITTLE_ENDIAN, but the description for the field is
>
>      unsigned int fUBO;        // byte order, relative to the host
>
> Being "relative to the host", I think it should be BYTE_ORDER. But
> it's just a guess, as I haven't tested on a big-endian machine (yet,
> I could be able to do that today).

ok, I changed the entry for ucs-2-internal to BYTE_ORDER instead of
LITTLE_ENDIAN but sadly the results were still the same...

Cheers, jas.

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


Mime
View raw message