The following character classifications mimic those declared in the ISO C
header files <ctype.h> and <wctype.h>. These functions are
deprecated, because this set of functions was designed with ASCII in mind and
cannot reflect the more diverse reality of the Unicode character set. But
they can be a quick-and-dirty porting aid when migrating from wchar_t
APIs to Unicode strings.
Tests for any character for which
uc_is_alphaoruc_is_digitis true.
Tests for any character for which
uc_is_upperoruc_is_loweris true, or any character that is one of a locale-specific set of characters for which none ofuc_is_cntrl,uc_is_digit,uc_is_punct, oruc_is_spaceis true.
Tests for any character that corresponds to a decimal-digit character.
Tests for any character for which
uc_is_printis true anduc_is_spaceis false.
Tests for any character that corresponds to a lowercase letter or is one of a locale-specific set of characters for which none of
uc_is_cntrl,uc_is_digit,uc_is_punct, oruc_is_spaceis true.
Tests for any printing character that is one of a locale-specific set of characters for which neither
uc_is_spacenoruc_is_alnumis true.
Test for any character that corresponds to a locale-specific set of characters for which none of
uc_is_alnum,uc_is_graph, oruc_is_punctis true.
Tests for any character that corresponds to an uppercase letter or is one of a locale-specific set of characters for which none of
uc_is_cntrl,uc_is_digit,uc_is_punct, oruc_is_spaceis true.