character class "alpha"
Corinna Vinschen
corinna-cygwin@cygwin.com
Mon Jul 31 18:20:26 GMT 2023
On Jul 31 19:46, Corinna Vinschen via Cygwin wrote:
> On Jul 31 16:06, Bruno Haible via Cygwin wrote:
> > Corinna Vinschen wrote:
> > > I have a problem with the c32isalpha function.
> > >
> > > c32isalpha fails for the character U+FF11 FULLWIDTH DIGIT ONE,
> > > because it expects the character to be an alphabetic character.
> >
> > This is not a big problem. You can see in the test-c32isalpha.c file
> > that this test is disabled for many platforms, in particular glibc.
>
> Which is interesting, because I actually tried that today on glibc, and
> for iswalpha (0xff11) it returns 1. So it actually behaves as the
> testcase expects.
>
> > There's no problem with disabling it on Cygwin as well.
>
> I'd rather make Cygwin do the same as glibc.
Hmm, there are more of those expressions which are disabled on glibc and
fail on Cygwin, for instance in test-c32iscntrl.c. Maybe it's actually
the better idea to disable them on Cygwin, too, rather than to change
a working system...
Corinna
More information about the Cygwin
mailing list