Hey Alby,
On 8/25/06, Alberto Massari <[EMAIL PROTECTED]> wrote:
>On 8/24/06, David Cargill <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]