[RFC] Refresh iswblank and iswspace (was Re: Update wctype functions to Unicode 5.2?)

Corinna Vinschen vinschen@redhat.com
Wed Feb 17 09:15:00 GMT 2010


On Feb 16 13:49, Jeff Johnston wrote:
> On 15/02/10 06:23 AM, Corinna Vinschen wrote:
> >On Feb 13 15:38, Corinna Vinschen wrote:
> >>For a start, here are patches to iswblank and iswspace [...]
> >>Ok to apply?
> >
> >Nope.
> >
> >I checked against the definition of iswspace and iswblank on Linux and
> >the important factor is that spaces and blanks must not be non-breaking
> >space characters.  That excludes U+2007 and U+202f again.  That also
> >excludes U+00a0, and, consequentially, when calling iswspace(0xa0) or
> >iswblank(0xa0) on Linux (don't try that in the "C" locale!), the
> >non-breaking space U+00a0 is no space or blank character.  I reverted
> >the formatting change as well to keep the patch simple.
> >
> 
> Ok.  Go ahead if you haven't already.

Patch applied.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat



More information about the Newlib mailing list