|
-
April 14th, 2003, 04:27 PM
#1
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?
<|>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|