This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [RFH] EURO tweaks 2: problems with wchar_t
- From: Paolo Carlini <pcarlini at unitus dot it>
- To: Paolo Carlini <pcarlini at unitus dot it>
- Cc: libc-alpha <libc-alpha at sources dot redhat dot com>, libstdc++ at gcc dot gnu dot org, Ulrich Drepper <drepper at redhat dot com>
- Date: Sun, 21 Apr 2002 12:11:39 +0200
- Subject: Re: [RFH] EURO tweaks 2: problems with wchar_t
- References: <3CC286CB.5060602@unitus.it>
Paolo Carlini wrote:
> What happens is that mbsrtowcs returns (size_t) -1 for the given
> __ccurr (*__ccurr = \224)
An additional bit of information: it looks like, generally, mbsrtowcs
cannot deal correctly with values of the source chars beyond \177 (127
decimal).
Thanks again,
Paolo.