also special-case ß (U+00DF) as lowercase even though it does not have a mapping to uppercase. unicode added an uppercase version of this character but does not map it, presumably because the uppercase version is not actually used except for some obscure purpose...
6 lines
91 B
C
6 lines
91 B
C
#include <wctype.h>
|
|
|
|
int iswlower(wint_t wc)
|
|
{
|
|
return towupper(wc) != wc || wc == 0xdf;
|
|
}
|