These utilities test various aspects of the Simplified Chinese (GB-2312-80) national standard character set. They also assume that the character being tested is part of the national standard character set.
The arguments for the functions in these tables must be a character in WC, wchar_t. For more information, see the cctype(3x) man page.
Table A-1 Simplified Chinese Character Classification Functions
Routine |
Description |
---|---|
ischanzi |
Returns true if it is a Hanzi ideogram in GB-2312-80. |
iscaccent |
Returns true if it is an accent notation in GB-2312-80. |
iscphonetic |
Returns true if it is a phonetic symbol in GB-2312-80. |
iscpinyin |
Returns true if it is a Pinyin symbol in GB-2312-80. |
iscalpha |
Returns true if it is a Roman alphabetic in GB-2312-80. |
iscdigit |
Returns true if it is a Roman digit in GB-2312-80. |
iscnumber |
Returns true if it is a number in GB-2312-80. |
isclower |
Returns true if it is a Roman lowercase in GB-2312-80. |
iscupper |
Returns true if it is a Roman uppercase in GB-2312-80. |
iscblank |
Returns true if it is a white space character from GB-2312-80. |
iscspace |
Returns true if it is a space character from GB-2312-80. |
iscgen |
Returns true if it is a graphic or general symbol in GB-2312-80. |
iscsci |
Returns true if it is a scientific symbol in GB-2312-80. |
iscline |
Returns true if it is a ruled line symbol in GB-2312-80. |
iscunit |
Returns true if it is a unit character in GB-2312-80. |
iscparen |
Returns true if it is a right or left parenthesis in GB-2312-80. |
iscpunct |
Returns true if it is a punctuation character in GB-2312-80. |
iscgreek |
Returns true if it is a Greek character in GB-2312-80. |
iscrussian |
Returns true if it is a Russian character in GB-2312-80. |
iscspecial |
Returns true if it is a Greek or Russian character in GB-2312-80. |
ischira |
Returns true if it is a Japanese Hiragana character in GB-2312-80. |
isckata |
Returns true if it is a Japanese Katakana character in GB-2312-80. |
Two additional routines for Simplified Chinese, iscgb and isceuc, test for characters from the GB-2312-80 character set. The iscgb routine expects a wide character, and isceuc expects a GB-2312-80 character in EUC format. For more information, see the cctype(3x) man page.
Table A-2 General Simplified Chinese General Character Classification Functions
Routine |
Description |
---|---|
iscgb |
Returns true if it is in GB-2312-80. |
isceuc |
Returns true if it is a GB-2312-80 character in EUC format. |