This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [PATCH] Preliminary fix for codecvt_members_unicode_wchar_t
- From: Paolo Carlini <pcarlini at unitus dot it>
- To: Ulrich Weigand <Ulrich dot Weigand at de dot ibm dot com>
- Cc: libstdc++ at gcc dot gnu dot org, bkoz at redhat dot com
- Date: Mon, 25 Mar 2002 14:59:46 +0100
- Subject: Re: [PATCH] Preliminary fix for codecvt_members_unicode_wchar_t
- References: <OF82CED762.BFA20EF7-ONC1256B87.0048B794@de.ibm.com>
Ulrich Weigand wrote:
>However, the test case specifies just "UCS4". Does this always
>imply big-endian?
>
Now it occurs to me that, in the test:
unicode_codecvt::state_type state01("UCS-2BE", "UCS4", 0xfeff, 0);
therefore, we convert to a /Big Endian/ representation. May be that by
default it is assumed that the endianness of the source is the same of
the destination.
Ciao, Paolo.