Extended ASCII character set
Folks,
Does anybody know how to figure out whether an extended ASCII character is a good printable character for a localized language?
In other words, for standard ASCII char set, I could call
setlocale (LC_CTYPE, "language_of_my_choice");
int ac;
// init stuff to do here ...
if (__isascii(ac) && isprint(ac)) {
// found and ASCII printable character !!!
}
The code works fine on standard ASCII char set - it doesn't seem to work with extended... for simple reason - in macro definitions of __isascii() and isprint(), the last possible character is 7F, and I need something like FF.
Do you know of a function that would tell me that, for example, character 'ä' (or 'é'. etc) is a valid printable character for, say, French language?