These utilities test various aspects of the Korean or Chinese national standard character sets. Except Korean isksc, they also assume that the character being tested is part of the national standard character set:
Korean: KS C 5601
Traditional Chinese: CNS 11643
Simplified Chinese: GB-2312-80
The arguments for the functions in these tables must be a character in WC, wchar_t. For more information, see the appropriate man page for your locale:
Korean--kctype(3x)
Simplified Chinese--cctype(3x)
Traditional Chinese--hctype(3x)
Table B-1 Korean Character Classification Functions
Utility |
Description |
---|---|
isksc |
Returns true if it is in the KS C 5601 character set. |
iskroman |
Returns true if it is a Roman character as defined by the KS C 5636 character set. |
iskromannum |
Returns true if it is a Roman numeral symbol in the KS C 5601 character set. |
isksymbol |
Returns true if it is a Latin symbol or special character in the KS C 5601 character set. |
iskparen |
Returns true if it is a right or left parenthesis in the KS C 5601 character set. |
isklatin |
Returns true if it is a Latin letter character in the KS C 5601 character set. |
iskletter |
Returns true if it is a Korean vowel or consonant in the KS C 5601 character set. |
iskline |
Returns true if it is a ruled line symbol in the KS C 5601 character set. |
iskunit |
Returns true if is a unit character in KS C 5601. |
isksci |
Returns true if is a scientific symbol in KS C 5601. |
iskgen |
Returns true if it is a graphic or general symbol in the KS C 5601 character set. |
iskgreek |
Returns true if it is a Greek character in the KS C 5601 character set. |
iskrussian |
Returns true if it is a Russian character in the KS C 5601 character set. |
iskuser |
Returns true if the character is in the user-defined area of the KS C 5601 character set. |
iskhanja |
Returns true if it is an ideogram in KS C 5601. |
iskhangul |
Returns true if it is a Hangul phonogram in KS C 5601. |
iskkata |
Returns true if it is a Japanese Katakana character in the KS C 5601 character set. |
iskhira |
Returns true if it is a Japanese Hiragana character in the KS C 5601 character set. |
Table B-2 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. |
For Simplified Chinese, two additional routines, iscgb and isceuc (Table B-3), 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 B-3 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. |
Table B-4 Traditional Chinese Character Classification Functions
Utility |
Description |
---|---|
ishalpha |
Returns true if it is a Roman character in the CNS 11643 character set. |
ishupper |
Returns true if it is an uppercase Roman character as defined by the CNS 11643 character set. |
ishlower |
Returns true if it is a lower case Roman character in the CNS 11643 character set. |
ishdigit |
Returns true if it is a number in the CNS 11643 character set. |
ishspace |
Returns true if it is the space character in the CNS 11643 character set. |
ishpunct |
Returns true if it is a punctuation character in the CNS 11643 character set. |
ishparen |
Returns true if it is a right or left parenthesis in the CNS 11643 character set. |
ishphontone |
Returns true if is a Mandarin phonetic tone. |
ishradical |
Returns true if is a Chinese character radical. |
ishline |
Returns true if it is a ruled line symbol in the CNS 11643 character set. |
ishunit |
Returns true if it is a unit character in the CNS 11643 character set. |
ishsci |
Returns true if it is a scientific symbol in the CNS 11643 character set. |
ishgen |
Returns true if it is a general symbol in the CNS 11643 character set. |
ishgreek |
Returns true if it is a Greek character in CNS 11643 character set. |