>So these functions only work portably in single-byte encodings. >Particular implementations might choose to make them do something useful >for input values above 255, but you couldn't expect that to work >everywhere. To work portably in UTF8 and other multi-byte encodings, >you have to go over to the wide-character functions in <wctype.h>.
Yeah, but the issue isn't about values about 255, it's about values above 127. Your locale is UTF-8, and you call isspace(0xa0). Does that mean "the character 0xa0", which is U+00A0 (a space)? Or does it mean one byte of a multibyte character, in which case ... who knows? --Ken _______________________________________________ Nmh-workers mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/nmh-workers
