ICU 4.2.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
uchar.h
Go to the documentation of this file.
1 /*
2 **********************************************************************
3 * Copyright (C) 1997-2009, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 **********************************************************************
6 *
7 * File UCHAR.H
8 *
9 * Modification History:
10 *
11 * Date Name Description
12 * 04/02/97 aliu Creation.
13 * 03/29/99 helena Updated for C APIs.
14 * 4/15/99 Madhu Updated for C Implementation and Javadoc
15 * 5/20/99 Madhu Added the function u_getVersion()
16 * 8/19/1999 srl Upgraded scripts to Unicode 3.0
17 * 8/27/1999 schererm UCharDirection constants: U_...
18 * 11/11/1999 weiv added u_isalnum(), cleaned comments
19 * 01/11/2000 helena Renamed u_getVersion to u_getUnicodeVersion().
20 ******************************************************************************
21 */
22 
23 #ifndef UCHAR_H
24 #define UCHAR_H
25 
26 #include "unicode/utypes.h"
27 
29 
30 /*==========================================================================*/
31 /* Unicode version number */
32 /*==========================================================================*/
42 #define U_UNICODE_VERSION "5.1"
43 
124 #define UCHAR_MIN_VALUE 0
125 
134 #define UCHAR_MAX_VALUE 0x10ffff
135 
140 #define U_MASK(x) ((uint32_t)1<<(x))
141 
142 /*
143  * !! Note: Several comments in this file are machine-read by the
144  * genpname tool. These comments describe the correspondence between
145  * icu enum constants and UCD entities. Do not delete them. Update
146  * these comments as needed.
147  *
148  * Any comment of the form "/ *[name]* /" (spaces added) is such
149  * a comment.
150  *
151  * The U_JG_* and U_GC_*_MASK constants are matched by their symbolic
152  * name, which must match PropertyValueAliases.txt.
153  */
154 
174 typedef enum UProperty {
175  /* See note !!. Comments of the form "Binary property Dash",
176  "Enumerated property Script", "Double property Numeric_Value",
177  and "String property Age" are read by genpname. */
178 
179  /* Note: Place UCHAR_ALPHABETIC before UCHAR_BINARY_START so that
180  debuggers display UCHAR_ALPHABETIC as the symbolic name for 0,
181  rather than UCHAR_BINARY_START. Likewise for other *_START
182  identifiers. */
183 
419 
427  UCHAR_BLOCK=0x1001,
455  UCHAR_SCRIPT=0x100A,
502 
516 
524 
527  UCHAR_AGE=0x4000,
544  UCHAR_NAME=0x4005,
568 
571 } UProperty;
572 
578 typedef enum UCharCategory
579 {
646 } UCharCategory;
647 
662 #define U_GC_CN_MASK U_MASK(U_GENERAL_OTHER_TYPES)
663 
665 #define U_GC_LU_MASK U_MASK(U_UPPERCASE_LETTER)
666 
667 #define U_GC_LL_MASK U_MASK(U_LOWERCASE_LETTER)
668 
669 #define U_GC_LT_MASK U_MASK(U_TITLECASE_LETTER)
670 
671 #define U_GC_LM_MASK U_MASK(U_MODIFIER_LETTER)
672 
673 #define U_GC_LO_MASK U_MASK(U_OTHER_LETTER)
674 
676 #define U_GC_MN_MASK U_MASK(U_NON_SPACING_MARK)
677 
678 #define U_GC_ME_MASK U_MASK(U_ENCLOSING_MARK)
679 
680 #define U_GC_MC_MASK U_MASK(U_COMBINING_SPACING_MARK)
681 
683 #define U_GC_ND_MASK U_MASK(U_DECIMAL_DIGIT_NUMBER)
684 
685 #define U_GC_NL_MASK U_MASK(U_LETTER_NUMBER)
686 
687 #define U_GC_NO_MASK U_MASK(U_OTHER_NUMBER)
688 
690 #define U_GC_ZS_MASK U_MASK(U_SPACE_SEPARATOR)
691 
692 #define U_GC_ZL_MASK U_MASK(U_LINE_SEPARATOR)
693 
694 #define U_GC_ZP_MASK U_MASK(U_PARAGRAPH_SEPARATOR)
695 
697 #define U_GC_CC_MASK U_MASK(U_CONTROL_CHAR)
698 
699 #define U_GC_CF_MASK U_MASK(U_FORMAT_CHAR)
700 
701 #define U_GC_CO_MASK U_MASK(U_PRIVATE_USE_CHAR)
702 
703 #define U_GC_CS_MASK U_MASK(U_SURROGATE)
704 
706 #define U_GC_PD_MASK U_MASK(U_DASH_PUNCTUATION)
707 
708 #define U_GC_PS_MASK U_MASK(U_START_PUNCTUATION)
709 
710 #define U_GC_PE_MASK U_MASK(U_END_PUNCTUATION)
711 
712 #define U_GC_PC_MASK U_MASK(U_CONNECTOR_PUNCTUATION)
713 
714 #define U_GC_PO_MASK U_MASK(U_OTHER_PUNCTUATION)
715 
717 #define U_GC_SM_MASK U_MASK(U_MATH_SYMBOL)
718 
719 #define U_GC_SC_MASK U_MASK(U_CURRENCY_SYMBOL)
720 
721 #define U_GC_SK_MASK U_MASK(U_MODIFIER_SYMBOL)
722 
723 #define U_GC_SO_MASK U_MASK(U_OTHER_SYMBOL)
724 
726 #define U_GC_PI_MASK U_MASK(U_INITIAL_PUNCTUATION)
727 
728 #define U_GC_PF_MASK U_MASK(U_FINAL_PUNCTUATION)
729 
730 
732 #define U_GC_L_MASK \
733  (U_GC_LU_MASK|U_GC_LL_MASK|U_GC_LT_MASK|U_GC_LM_MASK|U_GC_LO_MASK)
734 
736 #define U_GC_LC_MASK \
737  (U_GC_LU_MASK|U_GC_LL_MASK|U_GC_LT_MASK)
738 
740 #define U_GC_M_MASK (U_GC_MN_MASK|U_GC_ME_MASK|U_GC_MC_MASK)
741 
743 #define U_GC_N_MASK (U_GC_ND_MASK|U_GC_NL_MASK|U_GC_NO_MASK)
744 
746 #define U_GC_Z_MASK (U_GC_ZS_MASK|U_GC_ZL_MASK|U_GC_ZP_MASK)
747 
749 #define U_GC_C_MASK \
750  (U_GC_CN_MASK|U_GC_CC_MASK|U_GC_CF_MASK|U_GC_CO_MASK|U_GC_CS_MASK)
751 
753 #define U_GC_P_MASK \
754  (U_GC_PD_MASK|U_GC_PS_MASK|U_GC_PE_MASK|U_GC_PC_MASK|U_GC_PO_MASK| \
755  U_GC_PI_MASK|U_GC_PF_MASK)
756 
758 #define U_GC_S_MASK (U_GC_SM_MASK|U_GC_SC_MASK|U_GC_SK_MASK|U_GC_SO_MASK)
759 
764 typedef enum UCharDirection {
808 
814 
816  UBLOCK_NO_BLOCK = 0, /*[none]*/ /* Special range indicating No_Block */
817 
819  UBLOCK_BASIC_LATIN = 1, /*[0000]*/ /*See note !!*/
820 
823 
825  UBLOCK_LATIN_EXTENDED_A =3, /*[0100]*/
826 
828  UBLOCK_LATIN_EXTENDED_B =4, /*[0180]*/
829 
831  UBLOCK_IPA_EXTENSIONS =5, /*[0250]*/
832 
835 
838 
843  UBLOCK_GREEK =8, /*[0370]*/
844 
846  UBLOCK_CYRILLIC =9, /*[0400]*/
847 
849  UBLOCK_ARMENIAN =10, /*[0530]*/
850 
852  UBLOCK_HEBREW =11, /*[0590]*/
853 
855  UBLOCK_ARABIC =12, /*[0600]*/
856 
858  UBLOCK_SYRIAC =13, /*[0700]*/
859 
861  UBLOCK_THAANA =14, /*[0780]*/
862 
864  UBLOCK_DEVANAGARI =15, /*[0900]*/
865 
867  UBLOCK_BENGALI =16, /*[0980]*/
868 
870  UBLOCK_GURMUKHI =17, /*[0A00]*/
871 
873  UBLOCK_GUJARATI =18, /*[0A80]*/
874 
876  UBLOCK_ORIYA =19, /*[0B00]*/
877 
879  UBLOCK_TAMIL =20, /*[0B80]*/
880 
882  UBLOCK_TELUGU =21, /*[0C00]*/
883 
885  UBLOCK_KANNADA =22, /*[0C80]*/
886 
888  UBLOCK_MALAYALAM =23, /*[0D00]*/
889 
891  UBLOCK_SINHALA =24, /*[0D80]*/
892 
894  UBLOCK_THAI =25, /*[0E00]*/
895 
897  UBLOCK_LAO =26, /*[0E80]*/
898 
900  UBLOCK_TIBETAN =27, /*[0F00]*/
901 
903  UBLOCK_MYANMAR =28, /*[1000]*/
904 
906  UBLOCK_GEORGIAN =29, /*[10A0]*/
907 
909  UBLOCK_HANGUL_JAMO =30, /*[1100]*/
910 
912  UBLOCK_ETHIOPIC =31, /*[1200]*/
913 
915  UBLOCK_CHEROKEE =32, /*[13A0]*/
916 
919 
921  UBLOCK_OGHAM =34, /*[1680]*/
922 
924  UBLOCK_RUNIC =35, /*[16A0]*/
925 
927  UBLOCK_KHMER =36, /*[1780]*/
928 
930  UBLOCK_MONGOLIAN =37, /*[1800]*/
931 
934 
936  UBLOCK_GREEK_EXTENDED =39, /*[1F00]*/
937 
940 
943 
945  UBLOCK_CURRENCY_SYMBOLS =42, /*[20A0]*/
946 
952 
955 
957  UBLOCK_NUMBER_FORMS =45, /*[2150]*/
958 
960  UBLOCK_ARROWS =46, /*[2190]*/
961 
964 
967 
969  UBLOCK_CONTROL_PICTURES =49, /*[2400]*/
970 
973 
976 
978  UBLOCK_BOX_DRAWING =52, /*[2500]*/
979 
981  UBLOCK_BLOCK_ELEMENTS =53, /*[2580]*/
982 
984  UBLOCK_GEOMETRIC_SHAPES =54, /*[25A0]*/
985 
988 
990  UBLOCK_DINGBATS =56, /*[2700]*/
991 
993  UBLOCK_BRAILLE_PATTERNS =57, /*[2800]*/
994 
997 
999  UBLOCK_KANGXI_RADICALS =59, /*[2F00]*/
1000 
1003 
1006 
1008  UBLOCK_HIRAGANA =62, /*[3040]*/
1009 
1011  UBLOCK_KATAKANA =63, /*[30A0]*/
1012 
1014  UBLOCK_BOPOMOFO =64, /*[3100]*/
1015 
1018 
1020  UBLOCK_KANBUN =66, /*[3190]*/
1021 
1024 
1027 
1030 
1033 
1036 
1038  UBLOCK_YI_SYLLABLES =72, /*[A000]*/
1039 
1041  UBLOCK_YI_RADICALS =73, /*[A490]*/
1042 
1044  UBLOCK_HANGUL_SYLLABLES =74, /*[AC00]*/
1045 
1047  UBLOCK_HIGH_SURROGATES =75, /*[D800]*/
1048 
1051 
1053  UBLOCK_LOW_SURROGATES =77, /*[DC00]*/
1054 
1075 
1078 
1081 
1084 
1087 
1090 
1093 
1096 
1098  UBLOCK_SPECIALS =86, /*[FFF0]*/
1099 
1102 
1103  /* New blocks in Unicode 3.1 */
1104 
1106  UBLOCK_OLD_ITALIC = 88 , /*[10300]*/
1108  UBLOCK_GOTHIC = 89 , /*[10330]*/
1110  UBLOCK_DESERET = 90 , /*[10400]*/
1114  UBLOCK_MUSICAL_SYMBOLS = 92 , /*[1D100]*/
1122  UBLOCK_TAGS = 96, /*[E0000]*/
1123 
1124  /* New blocks in Unicode 3.2 */
1125 
1134  UBLOCK_TAGALOG = 98, /*[1700]*/
1136  UBLOCK_HANUNOO = 99, /*[1720]*/
1138  UBLOCK_BUHID = 100, /*[1740]*/
1140  UBLOCK_TAGBANWA = 101, /*[1760]*/
1154  UBLOCK_VARIATION_SELECTORS = 108, /*[FE00]*/
1159 
1160  /* New blocks in Unicode 4 */
1161 
1163  UBLOCK_LIMBU = 111, /*[1900]*/
1165  UBLOCK_TAI_LE = 112, /*[1950]*/
1167  UBLOCK_KHMER_SYMBOLS = 113, /*[19E0]*/
1169  UBLOCK_PHONETIC_EXTENSIONS = 114, /*[1D00]*/
1175  UBLOCK_LINEAR_B_SYLLABARY = 117, /*[10000]*/
1177  UBLOCK_LINEAR_B_IDEOGRAMS = 118, /*[10080]*/
1179  UBLOCK_AEGEAN_NUMBERS = 119, /*[10100]*/
1181  UBLOCK_UGARITIC = 120, /*[10380]*/
1183  UBLOCK_SHAVIAN = 121, /*[10450]*/
1185  UBLOCK_OSMANYA = 122, /*[10480]*/
1187  UBLOCK_CYPRIOT_SYLLABARY = 123, /*[10800]*/
1189  UBLOCK_TAI_XUAN_JING_SYMBOLS = 124, /*[1D300]*/
1192 
1193  /* New blocks in Unicode 4.1 */
1194 
1198  UBLOCK_ANCIENT_GREEK_NUMBERS = 127, /*[10140]*/
1200  UBLOCK_ARABIC_SUPPLEMENT = 128, /*[0750]*/
1202  UBLOCK_BUGINESE = 129, /*[1A00]*/
1204  UBLOCK_CJK_STROKES = 130, /*[31C0]*/
1208  UBLOCK_COPTIC = 132, /*[2C80]*/
1210  UBLOCK_ETHIOPIC_EXTENDED = 133, /*[2D80]*/
1212  UBLOCK_ETHIOPIC_SUPPLEMENT = 134, /*[1380]*/
1214  UBLOCK_GEORGIAN_SUPPLEMENT = 135, /*[2D00]*/
1216  UBLOCK_GLAGOLITIC = 136, /*[2C00]*/
1218  UBLOCK_KHAROSHTHI = 137, /*[10A00]*/
1222  UBLOCK_NEW_TAI_LUE = 139, /*[1980]*/
1224  UBLOCK_OLD_PERSIAN = 140, /*[103A0]*/
1230  UBLOCK_SYLOTI_NAGRI = 143, /*[A800]*/
1232  UBLOCK_TIFINAGH = 144, /*[2D30]*/
1234  UBLOCK_VERTICAL_FORMS = 145, /*[FE10]*/
1235 
1236  /* New blocks in Unicode 5.0 */
1237 
1239  UBLOCK_NKO = 146, /*[07C0]*/
1241  UBLOCK_BALINESE = 147, /*[1B00]*/
1243  UBLOCK_LATIN_EXTENDED_C = 148, /*[2C60]*/
1245  UBLOCK_LATIN_EXTENDED_D = 149, /*[A720]*/
1247  UBLOCK_PHAGS_PA = 150, /*[A840]*/
1249  UBLOCK_PHOENICIAN = 151, /*[10900]*/
1251  UBLOCK_CUNEIFORM = 152, /*[12000]*/
1255  UBLOCK_COUNTING_ROD_NUMERALS = 154, /*[1D360]*/
1256 
1257  /* New blocks in Unicode 5.1 */
1258 
1260  UBLOCK_SUNDANESE = 155, /*[1B80]*/
1262  UBLOCK_LEPCHA = 156, /*[1C00]*/
1264  UBLOCK_OL_CHIKI = 157, /*[1C50]*/
1266  UBLOCK_CYRILLIC_EXTENDED_A = 158, /*[2DE0]*/
1268  UBLOCK_VAI = 159, /*[A500]*/
1270  UBLOCK_CYRILLIC_EXTENDED_B = 160, /*[A640]*/
1272  UBLOCK_SAURASHTRA = 161, /*[A880]*/
1274  UBLOCK_KAYAH_LI = 162, /*[A900]*/
1276  UBLOCK_REJANG = 163, /*[A930]*/
1278  UBLOCK_CHAM = 164, /*[AA00]*/
1280  UBLOCK_ANCIENT_SYMBOLS = 165, /*[10190]*/
1282  UBLOCK_PHAISTOS_DISC = 166, /*[101D0]*/
1284  UBLOCK_LYCIAN = 167, /*[10280]*/
1286  UBLOCK_CARIAN = 168, /*[102A0]*/
1288  UBLOCK_LYDIAN = 169, /*[10920]*/
1290  UBLOCK_MAHJONG_TILES = 170, /*[1F000]*/
1292  UBLOCK_DOMINO_TILES = 171, /*[1F030]*/
1293 
1296 
1299 };
1300 
1302 typedef enum UBlockCode UBlockCode;
1303 
1311 typedef enum UEastAsianWidth {
1312  U_EA_NEUTRAL, /*[N]*/ /*See note !!*/
1313  U_EA_AMBIGUOUS, /*[A]*/
1314  U_EA_HALFWIDTH, /*[H]*/
1315  U_EA_FULLWIDTH, /*[F]*/
1316  U_EA_NARROW, /*[Na]*/
1317  U_EA_WIDE, /*[W]*/
1318  U_EA_COUNT
1319 } UEastAsianWidth;
1320 /*
1321  * Implementation note:
1322  * Keep UEastAsianWidth constant values in sync with names list in genprops/props2.c.
1323  */
1324 
1336 typedef enum UCharNameChoice {
1337  U_UNICODE_CHAR_NAME,
1338  U_UNICODE_10_CHAR_NAME,
1339  U_EXTENDED_CHAR_NAME,
1340  U_CHAR_NAME_CHOICE_COUNT
1341 } UCharNameChoice;
1342 
1356 typedef enum UPropertyNameChoice {
1357  U_SHORT_PROPERTY_NAME,
1358  U_LONG_PROPERTY_NAME,
1359  U_PROPERTY_NAME_CHOICE_COUNT
1361 
1368 typedef enum UDecompositionType {
1369  U_DT_NONE, /*[none]*/ /*See note !!*/
1370  U_DT_CANONICAL, /*[can]*/
1371  U_DT_COMPAT, /*[com]*/
1372  U_DT_CIRCLE, /*[enc]*/
1373  U_DT_FINAL, /*[fin]*/
1374  U_DT_FONT, /*[font]*/
1375  U_DT_FRACTION, /*[fra]*/
1376  U_DT_INITIAL, /*[init]*/
1377  U_DT_ISOLATED, /*[iso]*/
1378  U_DT_MEDIAL, /*[med]*/
1379  U_DT_NARROW, /*[nar]*/
1380  U_DT_NOBREAK, /*[nb]*/
1381  U_DT_SMALL, /*[sml]*/
1382  U_DT_SQUARE, /*[sqr]*/
1383  U_DT_SUB, /*[sub]*/
1384  U_DT_SUPER, /*[sup]*/
1385  U_DT_VERTICAL, /*[vert]*/
1386  U_DT_WIDE, /*[wide]*/
1387  U_DT_COUNT /* 18 */
1389 
1396 typedef enum UJoiningType {
1397  U_JT_NON_JOINING, /*[U]*/ /*See note !!*/
1398  U_JT_JOIN_CAUSING, /*[C]*/
1399  U_JT_DUAL_JOINING, /*[D]*/
1400  U_JT_LEFT_JOINING, /*[L]*/
1401  U_JT_RIGHT_JOINING, /*[R]*/
1402  U_JT_TRANSPARENT, /*[T]*/
1403  U_JT_COUNT /* 6 */
1404 } UJoiningType;
1405 
1412 typedef enum UJoiningGroup {
1413  U_JG_NO_JOINING_GROUP,
1414  U_JG_AIN,
1415  U_JG_ALAPH,
1416  U_JG_ALEF,
1417  U_JG_BEH,
1418  U_JG_BETH,
1419  U_JG_DAL,
1420  U_JG_DALATH_RISH,
1421  U_JG_E,
1422  U_JG_FEH,
1423  U_JG_FINAL_SEMKATH,
1424  U_JG_GAF,
1425  U_JG_GAMAL,
1426  U_JG_HAH,
1427  U_JG_HAMZA_ON_HEH_GOAL,
1428  U_JG_HE,
1429  U_JG_HEH,
1430  U_JG_HEH_GOAL,
1431  U_JG_HETH,
1432  U_JG_KAF,
1433  U_JG_KAPH,
1434  U_JG_KNOTTED_HEH,
1435  U_JG_LAM,
1436  U_JG_LAMADH,
1437  U_JG_MEEM,
1438  U_JG_MIM,
1439  U_JG_NOON,
1440  U_JG_NUN,
1441  U_JG_PE,
1442  U_JG_QAF,
1443  U_JG_QAPH,
1444  U_JG_REH,
1445  U_JG_REVERSED_PE,
1446  U_JG_SAD,
1447  U_JG_SADHE,
1448  U_JG_SEEN,
1449  U_JG_SEMKATH,
1450  U_JG_SHIN,
1451  U_JG_SWASH_KAF,
1452  U_JG_SYRIAC_WAW,
1453  U_JG_TAH,
1454  U_JG_TAW,
1455  U_JG_TEH_MARBUTA,
1456  U_JG_TETH,
1457  U_JG_WAW,
1458  U_JG_YEH,
1459  U_JG_YEH_BARREE,
1460  U_JG_YEH_WITH_TAIL,
1461  U_JG_YUDH,
1462  U_JG_YUDH_HE,
1463  U_JG_ZAIN,
1468  U_JG_COUNT
1469 } UJoiningGroup;
1470 
1478  U_GCB_OTHER = 0, /*[XX]*/ /*See note !!*/
1479  U_GCB_CONTROL = 1, /*[CN]*/
1480  U_GCB_CR = 2, /*[CR]*/
1481  U_GCB_EXTEND = 3, /*[EX]*/
1482  U_GCB_L = 4, /*[L]*/
1483  U_GCB_LF = 5, /*[LF]*/
1484  U_GCB_LV = 6, /*[LV]*/
1485  U_GCB_LVT = 7, /*[LVT]*/
1486  U_GCB_T = 8, /*[T]*/
1487  U_GCB_V = 9, /*[V]*/
1488  U_GCB_SPACING_MARK = 10, /*[SM]*/ /* from here on: new in Unicode 5.1/ICU 4.0 */
1489  U_GCB_PREPEND = 11, /*[PP]*/
1490  U_GCB_COUNT = 12
1492 
1500 typedef enum UWordBreakValues {
1501  U_WB_OTHER = 0, /*[XX]*/ /*See note !!*/
1502  U_WB_ALETTER = 1, /*[LE]*/
1503  U_WB_FORMAT = 2, /*[FO]*/
1504  U_WB_KATAKANA = 3, /*[KA]*/
1505  U_WB_MIDLETTER = 4, /*[ML]*/
1506  U_WB_MIDNUM = 5, /*[MN]*/
1507  U_WB_NUMERIC = 6, /*[NU]*/
1508  U_WB_EXTENDNUMLET = 7, /*[EX]*/
1509  U_WB_CR = 8, /*[CR]*/ /* from here on: new in Unicode 5.1/ICU 4.0 */
1510  U_WB_EXTEND = 9, /*[Extend]*/
1511  U_WB_LF = 10, /*[LF]*/
1512  U_WB_MIDNUMLET =11, /*[MB]*/
1513  U_WB_NEWLINE =12, /*[NL]*/
1514  U_WB_COUNT = 13
1516 
1523 typedef enum USentenceBreak {
1524  U_SB_OTHER = 0, /*[XX]*/ /*See note !!*/
1525  U_SB_ATERM = 1, /*[AT]*/
1526  U_SB_CLOSE = 2, /*[CL]*/
1527  U_SB_FORMAT = 3, /*[FO]*/
1528  U_SB_LOWER = 4, /*[LO]*/
1529  U_SB_NUMERIC = 5, /*[NU]*/
1530  U_SB_OLETTER = 6, /*[LE]*/
1531  U_SB_SEP = 7, /*[SE]*/
1532  U_SB_SP = 8, /*[SP]*/
1533  U_SB_STERM = 9, /*[ST]*/
1534  U_SB_UPPER = 10, /*[UP]*/
1535  U_SB_CR = 11, /*[CR]*/ /* from here on: new in Unicode 5.1/ICU 4.0 */
1536  U_SB_EXTEND = 12, /*[EX]*/
1537  U_SB_LF = 13, /*[LF]*/
1538  U_SB_SCONTINUE = 14, /*[SC]*/
1539  U_SB_COUNT = 15
1540 } USentenceBreak;
1541 
1548 typedef enum ULineBreak {
1549  U_LB_UNKNOWN = 0, /*[XX]*/ /*See note !!*/
1550  U_LB_AMBIGUOUS = 1, /*[AI]*/
1551  U_LB_ALPHABETIC = 2, /*[AL]*/
1552  U_LB_BREAK_BOTH = 3, /*[B2]*/
1553  U_LB_BREAK_AFTER = 4, /*[BA]*/
1554  U_LB_BREAK_BEFORE = 5, /*[BB]*/
1555  U_LB_MANDATORY_BREAK = 6, /*[BK]*/
1556  U_LB_CONTINGENT_BREAK = 7, /*[CB]*/
1557  U_LB_CLOSE_PUNCTUATION = 8, /*[CL]*/
1558  U_LB_COMBINING_MARK = 9, /*[CM]*/
1559  U_LB_CARRIAGE_RETURN = 10, /*[CR]*/
1560  U_LB_EXCLAMATION = 11, /*[EX]*/
1561  U_LB_GLUE = 12, /*[GL]*/
1562  U_LB_HYPHEN = 13, /*[HY]*/
1563  U_LB_IDEOGRAPHIC = 14, /*[ID]*/
1564  U_LB_INSEPERABLE = 15,
1566  U_LB_INSEPARABLE=U_LB_INSEPERABLE,/*[IN]*/
1567  U_LB_INFIX_NUMERIC = 16, /*[IS]*/
1568  U_LB_LINE_FEED = 17, /*[LF]*/
1569  U_LB_NONSTARTER = 18, /*[NS]*/
1570  U_LB_NUMERIC = 19, /*[NU]*/
1571  U_LB_OPEN_PUNCTUATION = 20, /*[OP]*/
1572  U_LB_POSTFIX_NUMERIC = 21, /*[PO]*/
1573  U_LB_PREFIX_NUMERIC = 22, /*[PR]*/
1574  U_LB_QUOTATION = 23, /*[QU]*/
1575  U_LB_COMPLEX_CONTEXT = 24, /*[SA]*/
1576  U_LB_SURROGATE = 25, /*[SG]*/
1577  U_LB_SPACE = 26, /*[SP]*/
1578  U_LB_BREAK_SYMBOLS = 27, /*[SY]*/
1579  U_LB_ZWSPACE = 28, /*[ZW]*/
1580  U_LB_NEXT_LINE = 29, /*[NL]*/ /* from here on: new in Unicode 4/ICU 2.6 */
1581  U_LB_WORD_JOINER = 30, /*[WJ]*/
1582  U_LB_H2 = 31, /*[H2]*/ /* from here on: new in Unicode 4.1/ICU 3.4 */
1583  U_LB_H3 = 32, /*[H3]*/
1584  U_LB_JL = 33, /*[JL]*/
1585  U_LB_JT = 34, /*[JT]*/
1586  U_LB_JV = 35, /*[JV]*/
1587  U_LB_COUNT = 36
1588 } ULineBreak;
1589 
1596 typedef enum UNumericType {
1597  U_NT_NONE, /*[None]*/ /*See note !!*/
1598  U_NT_DECIMAL, /*[de]*/
1599  U_NT_DIGIT, /*[di]*/
1600  U_NT_NUMERIC, /*[nu]*/
1601  U_NT_COUNT
1602 } UNumericType;
1603 
1610 typedef enum UHangulSyllableType {
1611  U_HST_NOT_APPLICABLE, /*[NA]*/ /*See note !!*/
1612  U_HST_LEADING_JAMO, /*[L]*/
1613  U_HST_VOWEL_JAMO, /*[V]*/
1614  U_HST_TRAILING_JAMO, /*[T]*/
1615  U_HST_LV_SYLLABLE, /*[LV]*/
1616  U_HST_LVT_SYLLABLE, /*[LVT]*/
1617  U_HST_COUNT
1619 
1648 
1663 
1678 
1693 
1714 
1754 
1775 
1804 
1825 U_STABLE double U_EXPORT2
1827 
1835 #define U_NO_NUMERIC_VALUE ((double)-123456789.)
1836 
1861 u_islower(UChar32 c);
1862 
1888 u_isupper(UChar32 c);
1889 
1905 u_istitle(UChar32 c);
1906 
1926 u_isdigit(UChar32 c);
1927 
1947 u_isalpha(UChar32 c);
1948 
1968 u_isalnum(UChar32 c);
1969 
1991 u_isxdigit(UChar32 c);
1992 
2007 u_ispunct(UChar32 c);
2008 
2026 u_isgraph(UChar32 c);
2027 
2055 u_isblank(UChar32 c);
2056 
2080 u_isdefined(UChar32 c);
2081 
2101 u_isspace(UChar32 c);
2102 
2123 
2157 
2180 u_iscntrl(UChar32 c);
2181 
2196 
2213 u_isprint(UChar32 c);
2214 
2234 u_isbase(UChar32 c);
2235 
2254 
2272 
2294 
2307 u_charType(UChar32 c);
2308 
2322 #define U_GET_GC_MASK(c) U_MASK(u_charType(c))
2323 
2341 typedef UBool U_CALLCONV
2342 UCharEnumTypeRange(const void *context, UChar32 start, UChar32 limit, UCharCategory type);
2343 
2363 U_STABLE void U_EXPORT2
2364 u_enumCharTypes(UCharEnumTypeRange *enumRange, const void *context);
2365 
2366 #if !UCONFIG_NO_NORMALIZATION
2367 
2377 
2378 #endif
2379 
2405 
2417 
2451 u_charName(UChar32 code, UCharNameChoice nameChoice,
2452  char *buffer, int32_t bufferLength,
2453  UErrorCode *pErrorCode);
2454 
2479  char *dest, int32_t destCapacity,
2480  UErrorCode *pErrorCode);
2481 
2503 u_charFromName(UCharNameChoice nameChoice,
2504  const char *name,
2505  UErrorCode *pErrorCode);
2506 
2524 typedef UBool U_CALLCONV UEnumCharNamesFn(void *context,
2525  UChar32 code,
2526  UCharNameChoice nameChoice,
2527  const char *name,
2528  int32_t length);
2529 
2551 U_STABLE void U_EXPORT2
2552 u_enumCharNames(UChar32 start, UChar32 limit,
2553  UEnumCharNamesFn *fn,
2554  void *context,
2555  UCharNameChoice nameChoice,
2556  UErrorCode *pErrorCode);
2557 
2589 U_STABLE const char* U_EXPORT2
2590 u_getPropertyName(UProperty property,
2591  UPropertyNameChoice nameChoice);
2592 
2613 u_getPropertyEnum(const char* alias);
2614 
2662 U_STABLE const char* U_EXPORT2
2664  int32_t value,
2665  UPropertyNameChoice nameChoice);
2666 
2700  const char* alias);
2701 
2720 u_isIDStart(UChar32 c);
2721 
2744 u_isIDPart(UChar32 c);
2745 
2770 
2789 
2810 
2834 u_tolower(UChar32 c);
2835 
2859 u_toupper(UChar32 c);
2860 
2884 u_totitle(UChar32 c);
2885 
2887 #define U_FOLD_CASE_DEFAULT 0
2888 
2905 #define U_FOLD_CASE_EXCLUDE_SPECIAL_I 1
2906 
2930 u_foldCase(UChar32 c, uint32_t options);
2931 
2971 u_digit(UChar32 ch, int8_t radix);
2972 
3002 u_forDigit(int32_t digit, int8_t radix);
3003 
3018 U_STABLE void U_EXPORT2
3019 u_charAge(UChar32 c, UVersionInfo versionArray);
3020 
3032 U_STABLE void U_EXPORT2
3033 u_getUnicodeVersion(UVersionInfo versionArray);
3034 
3057 u_getFC_NFKC_Closure(UChar32 c, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode);
3058 
3060 
3061 #endif /*_UCHAR*/
3062 /*eof*/
uint8_t UVersionInfo[U_MAX_VERSION_LENGTH]
The binary form of a version on ICU APIs is an array of 4 uint8_t.
Definition: uversion.h:124
Binary property Ideographic.
Definition: uchar.h:248
Unicode 4.0.1 renames the &quot;Cyrillic Supplementary&quot; block to &quot;Cyrillic Supplement&quot;.
Definition: uchar.h:1130
Binary property IDS_Binary_Operator (new in Unicode 3.2).
Definition: uchar.h:252
UBool u_isUWhiteSpace(UChar32 c)
Check if a code point has the White_Space Unicode property.
UBool u_istitle(UChar32 c)
Determines whether the specified code point is a titlecase letter.
Enumerated property NFC_Quick_Check.
Definition: uchar.h:467
See note !!.
Definition: uchar.h:768
UChar32 u_totitle(UChar32 c)
The given character is mapped to its titlecase equivalent according to UnicodeData.txt; if none is defined, the character itself is returned.
const char * u_getPropertyName(UProperty property, UPropertyNameChoice nameChoice)
Return the Unicode name for a given property, as given in the Unicode database file PropertyAliases...
Same as UBLOCK_PRIVATE_USE_AREA.
Definition: uchar.h:1064
UChar32 u_foldCase(UChar32 c, uint32_t options)
The given character is mapped to its case folding equivalent according to UnicodeData.txt and CaseFolding.txt; if the character has no case folding equivalent, the character itself is returned.
First constant for enumerated/integer Unicode properties.
Definition: uchar.h:424
Binary property XID_Start.
Definition: uchar.h:305
Binary property Join_Control.
Definition: uchar.h:259
Binary property Logical_Order_Exception (new in Unicode 3.2).
Definition: uchar.h:263
Binary property White_Space.
Definition: uchar.h:298
String property Titlecase_Mapping.
Definition: uchar.h:559
One more than the last constant for enumerated/integer Unicode properties.
Definition: uchar.h:501
Enumerated property Numeric_Type.
Definition: uchar.h:452
Binary property xdigit (a C/POSIX character class).
Definition: uchar.h:416
UBlockCode ublock_getCode(UChar32 c)
Returns the Unicode allocation block that contains the character.
Binary property Alphabetic.
Definition: uchar.h:186
First constant for double Unicode properties.
Definition: uchar.h:521
UBool UEnumCharNamesFn(void *context, UChar32 code, UCharNameChoice nameChoice, const char *name, int32_t length)
Type of a callback function for u_enumCharNames() that gets called for each Unicode character with th...
Definition: uchar.h:2524
UBool u_isgraph(UChar32 c)
Determines whether the specified code point is a &quot;graphic&quot; character (printable, excluding spaces)...
Cn &quot;Other, Not Assigned (no characters in [UnicodeData.txt] have this property)&quot; (same as U_UNASSIGNE...
Definition: uchar.h:585
String property Simple_Case_Folding.
Definition: uchar.h:547
Binary property NFC_Inert.
Definition: uchar.h:361
Binary property graph (a C/POSIX character class).
Definition: uchar.h:406
String property Bidi_Mirroring_Glyph.
Definition: uchar.h:532
One more than the last constant for bit-mask Unicode properties.
Definition: uchar.h:515
UBool u_isdefined(UChar32 c)
Determines whether the specified code point is &quot;defined&quot;, which usually means that it is assigned a c...
Enumerated property Block.
Definition: uchar.h:427
Represents a nonexistent or invalid property or property value.
Definition: uchar.h:570
#define U_CALLCONV
Similar to U_CDECL_BEGIN/U_CDECL_END, this qualifier is necessary in callback function typedefs to ma...
Definition: utypes.h:254
Renamed from the misspelled &quot;inseperable&quot; in Unicode 4.0.1/ICU 3.0.
Definition: uchar.h:1566
Binary property Radical (new in Unicode 3.2).
Definition: uchar.h:278
UCharDirection
This specifies the language directional property of a character set.
Definition: uchar.h:764
Binary property IDS_Trinary_Operator (new in Unicode 3.2).
Definition: uchar.h:256
Binary property Grapheme_Link (new in Unicode 3.2).
Definition: uchar.h:230
Enumerated property Decomposition_Type.
Definition: uchar.h:433
String property Case_Folding.
Definition: uchar.h:535
String property Name.
Definition: uchar.h:544
String property Simple_Uppercase_Mapping.
Definition: uchar.h:556
UChar32 u_forDigit(int32_t digit, int8_t radix)
Determines the character representation for a specific digit in the specified radix.
Enumerated property Bidi_Class.
Definition: uchar.h:422
int32_t u_charDigitValue(UChar32 c)
Returns the decimal digit value of a decimal digit character.
Enumerated property General_Category.
Definition: uchar.h:440
Sm.
Definition: uchar.h:633
String property Unicode_1_Name.
Definition: uchar.h:562
int32_t u_getFC_NFKC_Closure(UChar32 c, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode)
Get the FC_NFKC_Closure property string for a character.
UNumericType
Numeric Type constants.
Definition: uchar.h:1596
Binary property Pattern_White_Space (new in Unicode 4.1).
Definition: uchar.h:391
UBool u_iscntrl(UChar32 c)
Determines whether the specified code point is a control character (as defined by this function)...
unsigned char uint8_t
Define 64 bit limits.
Definition: pwin32.h:131
UBool UCharEnumTypeRange(const void *context, UChar32 start, UChar32 limit, UCharCategory type)
Callback from u_enumCharTypes(), is called for each contiguous range of code points c (where start&lt;=c...
Definition: uchar.h:2342
unsigned int uint32_t
Define 64 bit limits.
Definition: pwin32.h:147
Binary property NFD_Inert.
Definition: uchar.h:343
Binary property Diacritic.
Definition: uchar.h:211
Binary property Terminal_Punctuation.
Definition: uchar.h:287
UChar32 u_charFromName(UCharNameChoice nameChoice, const char *name, UErrorCode *pErrorCode)
Find a Unicode character by its name and return its code point value.
UBool u_isUAlphabetic(UChar32 c)
Check if a code point has the Alphabetic Unicode property.
Enumerated property NFD_Quick_Check.
Definition: uchar.h:461
void u_charAge(UChar32 c, UVersionInfo versionArray)
Get the &quot;age&quot; of the code point.
int32_t u_getPropertyValueEnum(UProperty property, const char *alias)
Return the property value integer for a given value name, as specified in the Unicode database file P...
#define U_CDECL_BEGIN
This is used to begin a declaration of a library private ICU C API.
Definition: umachine.h:101
Binary property STerm (new in Unicode 4.0.1).
Definition: uchar.h:314
Enumerated property Joining_Group.
Definition: uchar.h:443
Binary property ID_Continue.
Definition: uchar.h:241
Binary property blank (a C/POSIX character class).
Definition: uchar.h:401
Binary property Quotation_Mark.
Definition: uchar.h:274
First constant for binary Unicode properties.
Definition: uchar.h:188
Binary property Noncharacter_Code_Point.
Definition: uchar.h:272
Binary property Hyphen.
Definition: uchar.h:236
Enumerated property East_Asian_Width.
Definition: uchar.h:437
ULineBreak
Line Break constants.
Definition: uchar.h:1548
Binary property Full_Composition_Exclusion.
Definition: uchar.h:219
Bitmask property General_Category_Mask.
Definition: uchar.h:511
String property Simple_Titlecase_Mapping.
Definition: uchar.h:553
Unicode 3.2 renames this block to &quot;Combining Diacritical Marks for Symbols&quot;.
Definition: uchar.h:951
int32_t u_digit(UChar32 ch, int8_t radix)
Returns the decimal digit value of the code point in the specified radix.
UDecompositionType
Decomposition Type constants.
Definition: uchar.h:1368
UBool u_isprint(UChar32 c)
Determines whether the specified code point is a printable character.
UBool u_isxdigit(UChar32 c)
Determines whether the specified code point is a hexadecimal digit.
UHangulSyllableType
Hangul Syllable Type constants.
Definition: uchar.h:1610
String property Simple_Lowercase_Mapping.
Definition: uchar.h:550
Binary property print (a C/POSIX character class).
Definition: uchar.h:411
Binary property Case_Sensitive.
Definition: uchar.h:309
Binary property Bidi_Mirrored.
Definition: uchar.h:199
Binary property NFKC_Inert.
Definition: uchar.h:370
int32_t u_getIntPropertyValue(UChar32 c, UProperty which)
Get the property value for an enumerated or integer Unicode property for a code point.
First constant for string Unicode properties.
Definition: uchar.h:529
Binary property Grapheme_Extend (new in Unicode 3.2).
Definition: uchar.h:227
int32_t UChar32
Define UChar32 as a type for single Unicode code points.
Definition: umachine.h:319
UGraphemeClusterBreak
Grapheme Cluster Break constants.
Definition: uchar.h:1477
New No_Block value in Unicode 4.
Definition: uchar.h:816
Binary property Extender.
Definition: uchar.h:215
Double property Numeric_Value.
Definition: uchar.h:519
Binary property Math.
Definition: uchar.h:268
Binary property Grapheme_Base (new in Unicode 3.2).
Definition: uchar.h:223
Binary property NFKD_Inert.
Definition: uchar.h:352
uint8_t u_getCombiningClass(UChar32 c)
Returns the combining class of the code point as specified in UnicodeData.txt.
UBool u_isbase(UChar32 c)
Determines whether the specified code point is a base character.
UCharCategory
Data for enumerated Unicode general category types.
Definition: uchar.h:578
const char * u_getPropertyValueName(UProperty property, int32_t value, UPropertyNameChoice nameChoice)
Return the Unicode name for a given property value, as given in the Unicode database file PropertyVal...
Enumerated property Sentence_Break (new in Unicode 4.1).
Definition: uchar.h:494
double u_getNumericValue(UChar32 c)
Get the numeric value for a Unicode code point as defined in the Unicode Character Database...
Binary property Lowercase.
Definition: uchar.h:266
UBool u_isJavaIDStart(UChar32 c)
Determines if the specified character is permissible as the first character in a Java identifier...
First constant for bit-mask Unicode properties.
Definition: uchar.h:513
#define U_EXPORT2
Definition: platform.h:338
UBool u_isspace(UChar32 c)
Determines if the specified character is a space character or not.
USentenceBreak
Sentence Break constants.
Definition: uchar.h:1523
Binary property Unified_Ideograph (new in Unicode 3.2).
Definition: uchar.h:291
Enumerated property Canonical_Combining_Class.
Definition: uchar.h:430
UCharNameChoice
Selector constants for u_charName().
Definition: uchar.h:1336
One more than the last constant for binary Unicode properties.
Definition: uchar.h:418
UBool u_isJavaIDPart(UChar32 c)
Determines if the specified character is permissible in a Java identifier.
Enumerated property Script.
Definition: uchar.h:455
Unicode 3.2 renames this block to &quot;Greek and Coptic&quot;.
Definition: uchar.h:843
Binary property Hex_Digit.
Definition: uchar.h:233
String property Uppercase_Mapping.
Definition: uchar.h:565
UPropertyNameChoice
Selector constants for u_getPropertyName() and u_getPropertyValueName().
Definition: uchar.h:1356
String property Lowercase_Mapping.
Definition: uchar.h:541
UCharDirection u_charDirection(UChar32 c)
Returns the bidirectional category value for the code point, which is used in the Unicode bidirection...
UBool u_islower(UChar32 c)
Determines whether the specified code point has the general category &quot;Ll&quot; (lowercase letter)...
uint16_t UChar
Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned.
Definition: umachine.h:299
#define U_CDECL_END
This is used to end a declaration of a library private ICU C API.
Definition: umachine.h:102
Enumerated property NFKC_Quick_Check.
Definition: uchar.h:470
signed char int8_t
Define 64 bit limits.
Definition: pwin32.h:127
UProperty
Selection constants for Unicode properties.
Definition: uchar.h:174
void u_enumCharTypes(UCharEnumTypeRange *enumRange, const void *context)
Enumerate efficiently all code points with their Unicode general categories.
Enumerated property Hangul_Syllable_Type, new in Unicode 4.
Definition: uchar.h:458
Binary property Dash.
Definition: uchar.h:201
Binary property alnum (a C/POSIX character class).
Definition: uchar.h:396
Cf.
Definition: uchar.h:617
Binary property Variation_Selector (new in Unicode 4.0.1).
Definition: uchar.h:320
UBool u_isUUppercase(UChar32 c)
Check if a code point has the Uppercase Unicode property.
UBlockCode
Constants for Unicode blocks, see the Unicode Data file Blocks.txt.
Definition: uchar.h:813
Enumerated property Word_Break (new in Unicode 4.1).
Definition: uchar.h:499
Binary property Deprecated (new in Unicode 3.2).
Definition: uchar.h:208
Binary property Bidi_Control.
Definition: uchar.h:194
Binary property XID_Continue.
Definition: uchar.h:302
Same as UBLOCK_PRIVATE_USE.
Definition: uchar.h:1074
UBool u_hasBinaryProperty(UChar32 c, UProperty which)
Check a binary Unicode property for a code point.
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers...
Definition: utypes.h:593
Binary property Uppercase.
Definition: uchar.h:294
void u_getUnicodeVersion(UVersionInfo versionArray)
Gets the Unicode version information.
UJoiningGroup
Joining Group constants.
Definition: uchar.h:1412
Cs.
Definition: uchar.h:621
UEastAsianWidth
East Asian Width constants.
Definition: uchar.h:1311
UBool u_isupper(UChar32 c)
Determines whether the specified code point has the general category &quot;Lu&quot; (uppercase letter)...
Enumerated property Trail_Canonical_Combining_Class.
Definition: uchar.h:484
UBool u_isULowercase(UChar32 c)
Check if a code point has the Lowercase Unicode property.
See note !!.
Definition: uchar.h:583
UBool u_ispunct(UChar32 c)
Determines whether the specified code point is a punctuation character.
UWordBreakValues
Word Break constants.
Definition: uchar.h:1500
void u_enumCharNames(UChar32 start, UChar32 limit, UEnumCharNamesFn *fn, void *context, UCharNameChoice nameChoice, UErrorCode *pErrorCode)
Enumerate all assigned Unicode characters between the start and limit code points (start inclusive...
int32_t u_getIntPropertyMaxValue(UProperty which)
Get the maximum value for an enumerated/integer/binary Unicode property.
Enumerated property Joining_Type.
Definition: uchar.h:446
One more than the last constant for double Unicode properties.
Definition: uchar.h:523
Basic definitions for ICU, for both C and C++ APIs.
UBool u_isIDPart(UChar32 c)
Determines if the specified character is permissible in an identifier according to Java...
Enumerated property Lead_Canonical_Combining_Class.
Definition: uchar.h:477
Binary property ASCII_Hex_Digit.
Definition: uchar.h:190
UJoiningType
Joining Type constants.
Definition: uchar.h:1396
UBool u_isIDStart(UChar32 c)
Determines if the specified character is permissible as the first character in an identifier accordin...
Binary property Soft_Dotted (new in Unicode 3.2).
Definition: uchar.h:283
One more than the last constant for string Unicode properties.
Definition: uchar.h:567
Binary Property Segment_Starter.
Definition: uchar.h:381
UChar32 u_toupper(UChar32 c)
The given character is mapped to its uppercase equivalent according to UnicodeData.txt; if the character has no uppercase equivalent, the character itself is returned.
Binary property ID_Start.
Definition: uchar.h:245
int32_t u_getIntPropertyMinValue(UProperty which)
Get the minimum value for an enumerated/integer/binary Unicode property.
UBool u_isJavaSpaceChar(UChar32 c)
Determine if the specified code point is a space character according to Java.
UBool u_isMirrored(UChar32 c)
Determines whether the code point has the Bidi_Mirrored property.
UChar32 u_tolower(UChar32 c)
The given character is mapped to its lowercase equivalent according to UnicodeData.txt; if the character has no lowercase equivalent, the character itself is returned.
Enumerated property Line_Break.
Definition: uchar.h:449
UBool u_isIDIgnorable(UChar32 c)
Determines if the specified character should be regarded as an ignorable character in an identifier...
Enumerated property Grapheme_Cluster_Break (new in Unicode 4.1).
Definition: uchar.h:489
UBool u_isdigit(UChar32 c)
Determines whether the specified code point is a digit character according to Java.
UProperty u_getPropertyEnum(const char *alias)
Return the UProperty enum for a given property name, as specified in the Unicode database file Proper...
UBool u_isWhitespace(UChar32 c)
Determines if the specified code point is a whitespace character according to Java/ICU.
String property ISO_Comment.
Definition: uchar.h:538
UBool u_isblank(UChar32 c)
Determines whether the specified code point is a &quot;blank&quot; or &quot;horizontal space&quot;, a character that visi...
UBool u_isalpha(UChar32 c)
Determines whether the specified code point is a letter character.
Binary property Default_Ignorable_Code_Point (new in Unicode 3.2).
Definition: uchar.h:205
int32_t u_getISOComment(UChar32 c, char *dest, int32_t destCapacity, UErrorCode *pErrorCode)
Get the ISO 10646 comment for a character.
One higher than the last enum UCharCategory constant.
Definition: uchar.h:645
UBool u_isalnum(UChar32 c)
Determines whether the specified code point is an alphanumeric character (letter or digit) according ...
Binary property Pattern_Syntax (new in Unicode 4.1).
Definition: uchar.h:386
signed int int32_t
Define 64 bit limits.
Definition: pwin32.h:143
UChar32 u_charMirror(UChar32 c)
Maps the specified character to a &quot;mirror-image&quot; character.
UBool u_isISOControl(UChar32 c)
Determines whether the specified code point is an ISO control code.
int8_t u_charType(UChar32 c)
Returns the general category value for the code point.
int32_t u_charName(UChar32 code, UCharNameChoice nameChoice, char *buffer, int32_t bufferLength, UErrorCode *pErrorCode)
Retrieve the name of a Unicode character.
String property Age.
Definition: uchar.h:527
#define U_STABLE
This is used to declare a function as a stable public ICU C API.
Definition: umachine.h:117
int8_t UBool
The ICU boolean type.
Definition: umachine.h:208
Enumerated property NFKD_Quick_Check.
Definition: uchar.h:464