[RFC] Refresh iswblank and iswspace (was Re: Update wctype functions to Unicode 5.2?)
Howland Craig D (Craig)
Tue Feb 16 16:05:00 GMT 2010
Unfortunately, not quite so simple--but almost:
we'd need to check if the locale is exactly either "C" or "POSIX".
(It's a little annoying that POSIX allows either when there is no
apparent difference between them, but it's what they require.)
Yes, a <=0x7F check would seem appropriate (similar to the current
non-MB-capable check) when in "C"|"POSIX".
From: firstname.lastname@example.org [mailto:email@example.com]
On Behalf Of Corinna Vinschen
Sent: Tuesday, February 16, 2010 7:24 AM
Subject: Re: [RFC] Refresh iswblank and iswspace (was Re: Update wctype
functions to Unicode 5.2?)
On Feb 16 12:11, Corinna Vinschen wrote:
> Right. I don't worry for now, but we should fix that soon.
> I'd suggest to check for the locale being exactly "C" and if so, only
> return chars <= 0x7f. Every other locale is undefined and so allows
> report any character in the Unicode range.
More information about the Newlib