Traditional Chinese Solaris User's Guide

Traditional Chinese Test Utilities

Every utility listed in this section is supported, but for this version of Solaris, you are encouraged to use the XPG4 internationalization APIs as described in the International Language Environments Guide.

The utilities in the following table test various aspects of the Traditional Chinese (CNS 11643) 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 the following table must be a character in WC, wchar_t. For more information, see the hctype(3x) man page.

Table A-1

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 lowercase 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 left or right parenthesis in the CNS 11643 character set.  

ishphontone

Returns true if it is a Mandarin phonetic tone. 

ishradical

Returns true if it 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 the CNS 11643 character set.