Can anyone explain why glibc's ctype functions return different values than wctype functions in a utf8 locale for Latin-1 Supplement values (0x80 <= c < 0xff)?
isupper(0xc4) == 0
iswupper(0xc4) == 1
Is this correct? How is this motivated by the C standard?
Is it because utf-8 is a multibyte encoding where Ä is represented by two bytes in strings?