ICU 74.2  74.2
uchar.h
Go to the documentation of this file.
1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /*
4 **********************************************************************
5 * Copyright (C) 1997-2016, International Business Machines
6 * Corporation and others. All Rights Reserved.
7 **********************************************************************
8 *
9 * File UCHAR.H
10 *
11 * Modification History:
12 *
13 * Date Name Description
14 * 04/02/97 aliu Creation.
15 * 03/29/99 helena Updated for C APIs.
16 * 4/15/99 Madhu Updated for C Implementation and Javadoc
17 * 5/20/99 Madhu Added the function u_getVersion()
18 * 8/19/1999 srl Upgraded scripts to Unicode 3.0
19 * 8/27/1999 schererm UCharDirection constants: U_...
20 * 11/11/1999 weiv added u_isalnum(), cleaned comments
21 * 01/11/2000 helena Renamed u_getVersion to u_getUnicodeVersion().
22 ******************************************************************************
23 */
24 
25 #ifndef UCHAR_H
26 #define UCHAR_H
27 
28 #include "unicode/utypes.h"
29 #include "unicode/stringoptions.h"
30 #include "unicode/ucpmap.h"
31 
32 #if !defined(USET_DEFINED) && !defined(U_IN_DOXYGEN)
33 
34 #define USET_DEFINED
35 
44 typedef struct USet USet;
45 
46 #endif
47 
48 
50 
51 /*==========================================================================*/
52 /* Unicode version number */
53 /*==========================================================================*/
63 #define U_UNICODE_VERSION "15.1"
64 
157 #define UCHAR_MIN_VALUE 0
158 
167 #define UCHAR_MAX_VALUE 0x10ffff
168 
173 #define U_MASK(x) ((uint32_t)1<<(x))
174 
195 typedef enum UProperty {
196  /*
197  * Note: UProperty constants are parsed by preparseucd.py.
198  * It matches lines like
199  * UCHAR_<Unicode property name>=<integer>,
200  */
201 
202  /* Note: Place UCHAR_ALPHABETIC before UCHAR_BINARY_START so that
203  debuggers display UCHAR_ALPHABETIC as the symbolic name for 0,
204  rather than UCHAR_BINARY_START. Likewise for other *_START
205  identifiers. */
206 
535 #ifndef U_HIDE_DRAFT_API
536 
555 #endif // U_HIDE_DRAFT_API
556 #ifndef U_HIDE_DEPRECATED_API
557 
562 #endif // U_HIDE_DEPRECATED_API
563 
571  UCHAR_BLOCK=0x1001,
599  UCHAR_SCRIPT=0x100A,
671 #ifndef U_HIDE_DEPRECATED_API
672 
677 #endif // U_HIDE_DEPRECATED_API
678 
690 #ifndef U_HIDE_DEPRECATED_API
691 
696 #endif // U_HIDE_DEPRECATED_API
697 
703 #ifndef U_HIDE_DEPRECATED_API
704 
709 #endif // U_HIDE_DEPRECATED_API
710 
713  UCHAR_AGE=0x4000,
722 #ifndef U_HIDE_DEPRECATED_API
723 
726 #endif /* U_HIDE_DEPRECATED_API */
727 
732  UCHAR_NAME=0x4005,
748 #ifndef U_HIDE_DEPRECATED_API
749 
754 #endif /* U_HIDE_DEPRECATED_API */
755 
761 #ifndef U_HIDE_DEPRECATED_API
762 
767 #endif // U_HIDE_DEPRECATED_API
768 
777 #ifndef U_HIDE_DEPRECATED_API
778 
783 #endif // U_HIDE_DEPRECATED_API
784 
787 } UProperty;
788 
794 typedef enum UCharCategory
795 {
796  /*
797  * Note: UCharCategory constants and their API comments are parsed by preparseucd.py.
798  * It matches pairs of lines like
799  * / ** <Unicode 2-letter General_Category value> comment... * /
800  * U_<[A-Z_]+> = <integer>,
801  */
802 
873 } UCharCategory;
874 
889 #define U_GC_CN_MASK U_MASK(U_GENERAL_OTHER_TYPES)
890 
892 #define U_GC_LU_MASK U_MASK(U_UPPERCASE_LETTER)
893 
894 #define U_GC_LL_MASK U_MASK(U_LOWERCASE_LETTER)
895 
896 #define U_GC_LT_MASK U_MASK(U_TITLECASE_LETTER)
897 
898 #define U_GC_LM_MASK U_MASK(U_MODIFIER_LETTER)
899 
900 #define U_GC_LO_MASK U_MASK(U_OTHER_LETTER)
901 
903 #define U_GC_MN_MASK U_MASK(U_NON_SPACING_MARK)
904 
905 #define U_GC_ME_MASK U_MASK(U_ENCLOSING_MARK)
906 
907 #define U_GC_MC_MASK U_MASK(U_COMBINING_SPACING_MARK)
908 
910 #define U_GC_ND_MASK U_MASK(U_DECIMAL_DIGIT_NUMBER)
911 
912 #define U_GC_NL_MASK U_MASK(U_LETTER_NUMBER)
913 
914 #define U_GC_NO_MASK U_MASK(U_OTHER_NUMBER)
915 
917 #define U_GC_ZS_MASK U_MASK(U_SPACE_SEPARATOR)
918 
919 #define U_GC_ZL_MASK U_MASK(U_LINE_SEPARATOR)
920 
921 #define U_GC_ZP_MASK U_MASK(U_PARAGRAPH_SEPARATOR)
922 
924 #define U_GC_CC_MASK U_MASK(U_CONTROL_CHAR)
925 
926 #define U_GC_CF_MASK U_MASK(U_FORMAT_CHAR)
927 
928 #define U_GC_CO_MASK U_MASK(U_PRIVATE_USE_CHAR)
929 
930 #define U_GC_CS_MASK U_MASK(U_SURROGATE)
931 
933 #define U_GC_PD_MASK U_MASK(U_DASH_PUNCTUATION)
934 
935 #define U_GC_PS_MASK U_MASK(U_START_PUNCTUATION)
936 
937 #define U_GC_PE_MASK U_MASK(U_END_PUNCTUATION)
938 
939 #define U_GC_PC_MASK U_MASK(U_CONNECTOR_PUNCTUATION)
940 
941 #define U_GC_PO_MASK U_MASK(U_OTHER_PUNCTUATION)
942 
944 #define U_GC_SM_MASK U_MASK(U_MATH_SYMBOL)
945 
946 #define U_GC_SC_MASK U_MASK(U_CURRENCY_SYMBOL)
947 
948 #define U_GC_SK_MASK U_MASK(U_MODIFIER_SYMBOL)
949 
950 #define U_GC_SO_MASK U_MASK(U_OTHER_SYMBOL)
951 
953 #define U_GC_PI_MASK U_MASK(U_INITIAL_PUNCTUATION)
954 
955 #define U_GC_PF_MASK U_MASK(U_FINAL_PUNCTUATION)
956 
957 
959 #define U_GC_L_MASK \
960  (U_GC_LU_MASK|U_GC_LL_MASK|U_GC_LT_MASK|U_GC_LM_MASK|U_GC_LO_MASK)
961 
963 #define U_GC_LC_MASK \
964  (U_GC_LU_MASK|U_GC_LL_MASK|U_GC_LT_MASK)
965 
967 #define U_GC_M_MASK (U_GC_MN_MASK|U_GC_ME_MASK|U_GC_MC_MASK)
968 
970 #define U_GC_N_MASK (U_GC_ND_MASK|U_GC_NL_MASK|U_GC_NO_MASK)
971 
973 #define U_GC_Z_MASK (U_GC_ZS_MASK|U_GC_ZL_MASK|U_GC_ZP_MASK)
974 
976 #define U_GC_C_MASK \
977  (U_GC_CN_MASK|U_GC_CC_MASK|U_GC_CF_MASK|U_GC_CO_MASK|U_GC_CS_MASK)
978 
980 #define U_GC_P_MASK \
981  (U_GC_PD_MASK|U_GC_PS_MASK|U_GC_PE_MASK|U_GC_PC_MASK|U_GC_PO_MASK| \
982  U_GC_PI_MASK|U_GC_PF_MASK)
983 
985 #define U_GC_S_MASK (U_GC_SM_MASK|U_GC_SC_MASK|U_GC_SK_MASK|U_GC_SO_MASK)
986 
991 typedef enum UCharDirection {
992  /*
993  * Note: UCharDirection constants and their API comments are parsed by preparseucd.py.
994  * It matches pairs of lines like
995  * / ** <Unicode 1..3-letter Bidi_Class value> comment... * /
996  * U_<[A-Z_]+> = <integer>,
997  */
998 
1045 #ifndef U_HIDE_DEPRECATED_API
1046 
1053 #endif // U_HIDE_DEPRECATED_API
1054 } UCharDirection;
1055 
1063  /*
1064  * Note: UBidiPairedBracketType constants are parsed by preparseucd.py.
1065  * It matches lines like
1066  * U_BPT_<Unicode Bidi_Paired_Bracket_Type value name>
1067  */
1068 
1075 #ifndef U_HIDE_DEPRECATED_API
1076 
1082  U_BPT_COUNT /* 3 */
1083 #endif // U_HIDE_DEPRECATED_API
1085 
1091  /*
1092  * Note: UBlockCode constants are parsed by preparseucd.py.
1093  * It matches lines like
1094  * UBLOCK_<Unicode Block value name> = <integer>,
1095  */
1096 
1098  UBLOCK_NO_BLOCK = 0, /*[none]*/ /* Special range indicating No_Block */
1099 
1101  UBLOCK_BASIC_LATIN = 1, /*[0000]*/
1102 
1105 
1108 
1111 
1113  UBLOCK_IPA_EXTENSIONS =5, /*[0250]*/
1114 
1117 
1120 
1125  UBLOCK_GREEK =8, /*[0370]*/
1126 
1128  UBLOCK_CYRILLIC =9, /*[0400]*/
1129 
1131  UBLOCK_ARMENIAN =10, /*[0530]*/
1132 
1134  UBLOCK_HEBREW =11, /*[0590]*/
1135 
1137  UBLOCK_ARABIC =12, /*[0600]*/
1138 
1140  UBLOCK_SYRIAC =13, /*[0700]*/
1141 
1143  UBLOCK_THAANA =14, /*[0780]*/
1144 
1146  UBLOCK_DEVANAGARI =15, /*[0900]*/
1147 
1149  UBLOCK_BENGALI =16, /*[0980]*/
1150 
1152  UBLOCK_GURMUKHI =17, /*[0A00]*/
1153 
1155  UBLOCK_GUJARATI =18, /*[0A80]*/
1156 
1158  UBLOCK_ORIYA =19, /*[0B00]*/
1159 
1161  UBLOCK_TAMIL =20, /*[0B80]*/
1162 
1164  UBLOCK_TELUGU =21, /*[0C00]*/
1165 
1167  UBLOCK_KANNADA =22, /*[0C80]*/
1168 
1170  UBLOCK_MALAYALAM =23, /*[0D00]*/
1171 
1173  UBLOCK_SINHALA =24, /*[0D80]*/
1174 
1176  UBLOCK_THAI =25, /*[0E00]*/
1177 
1179  UBLOCK_LAO =26, /*[0E80]*/
1180 
1182  UBLOCK_TIBETAN =27, /*[0F00]*/
1183 
1185  UBLOCK_MYANMAR =28, /*[1000]*/
1186 
1188  UBLOCK_GEORGIAN =29, /*[10A0]*/
1189 
1191  UBLOCK_HANGUL_JAMO =30, /*[1100]*/
1192 
1194  UBLOCK_ETHIOPIC =31, /*[1200]*/
1195 
1197  UBLOCK_CHEROKEE =32, /*[13A0]*/
1198 
1201 
1203  UBLOCK_OGHAM =34, /*[1680]*/
1204 
1206  UBLOCK_RUNIC =35, /*[16A0]*/
1207 
1209  UBLOCK_KHMER =36, /*[1780]*/
1210 
1212  UBLOCK_MONGOLIAN =37, /*[1800]*/
1213 
1216 
1218  UBLOCK_GREEK_EXTENDED =39, /*[1F00]*/
1219 
1222 
1225 
1227  UBLOCK_CURRENCY_SYMBOLS =42, /*[20A0]*/
1228 
1234 
1237 
1239  UBLOCK_NUMBER_FORMS =45, /*[2150]*/
1240 
1242  UBLOCK_ARROWS =46, /*[2190]*/
1243 
1246 
1249 
1251  UBLOCK_CONTROL_PICTURES =49, /*[2400]*/
1252 
1255 
1258 
1260  UBLOCK_BOX_DRAWING =52, /*[2500]*/
1261 
1263  UBLOCK_BLOCK_ELEMENTS =53, /*[2580]*/
1264 
1266  UBLOCK_GEOMETRIC_SHAPES =54, /*[25A0]*/
1267 
1270 
1272  UBLOCK_DINGBATS =56, /*[2700]*/
1273 
1275  UBLOCK_BRAILLE_PATTERNS =57, /*[2800]*/
1276 
1279 
1281  UBLOCK_KANGXI_RADICALS =59, /*[2F00]*/
1282 
1285 
1288 
1290  UBLOCK_HIRAGANA =62, /*[3040]*/
1291 
1293  UBLOCK_KATAKANA =63, /*[30A0]*/
1294 
1296  UBLOCK_BOPOMOFO =64, /*[3100]*/
1297 
1300 
1302  UBLOCK_KANBUN =66, /*[3190]*/
1303 
1306 
1309 
1312 
1315 
1318 
1320  UBLOCK_YI_SYLLABLES =72, /*[A000]*/
1321 
1323  UBLOCK_YI_RADICALS =73, /*[A490]*/
1324 
1326  UBLOCK_HANGUL_SYLLABLES =74, /*[AC00]*/
1327 
1329  UBLOCK_HIGH_SURROGATES =75, /*[D800]*/
1330 
1333 
1335  UBLOCK_LOW_SURROGATES =77, /*[DC00]*/
1336 
1346  UBLOCK_PRIVATE_USE_AREA =78, /*[E000]*/
1357 
1360 
1363 
1366 
1369 
1372 
1375 
1378 
1380  UBLOCK_SPECIALS =86, /*[FFF0]*/
1381 
1384 
1385  /* New blocks in Unicode 3.1 */
1386 
1388  UBLOCK_OLD_ITALIC = 88, /*[10300]*/
1390  UBLOCK_GOTHIC = 89, /*[10330]*/
1392  UBLOCK_DESERET = 90, /*[10400]*/
1396  UBLOCK_MUSICAL_SYMBOLS = 92, /*[1D100]*/
1404  UBLOCK_TAGS = 96, /*[E0000]*/
1405 
1406  /* New blocks in Unicode 3.2 */
1407 
1416  UBLOCK_TAGALOG = 98, /*[1700]*/
1418  UBLOCK_HANUNOO = 99, /*[1720]*/
1420  UBLOCK_BUHID = 100, /*[1740]*/
1422  UBLOCK_TAGBANWA = 101, /*[1760]*/
1436  UBLOCK_VARIATION_SELECTORS = 108, /*[FE00]*/
1441 
1442  /* New blocks in Unicode 4 */
1443 
1445  UBLOCK_LIMBU = 111, /*[1900]*/
1447  UBLOCK_TAI_LE = 112, /*[1950]*/
1449  UBLOCK_KHMER_SYMBOLS = 113, /*[19E0]*/
1451  UBLOCK_PHONETIC_EXTENSIONS = 114, /*[1D00]*/
1457  UBLOCK_LINEAR_B_SYLLABARY = 117, /*[10000]*/
1459  UBLOCK_LINEAR_B_IDEOGRAMS = 118, /*[10080]*/
1461  UBLOCK_AEGEAN_NUMBERS = 119, /*[10100]*/
1463  UBLOCK_UGARITIC = 120, /*[10380]*/
1465  UBLOCK_SHAVIAN = 121, /*[10450]*/
1467  UBLOCK_OSMANYA = 122, /*[10480]*/
1469  UBLOCK_CYPRIOT_SYLLABARY = 123, /*[10800]*/
1471  UBLOCK_TAI_XUAN_JING_SYMBOLS = 124, /*[1D300]*/
1474 
1475  /* New blocks in Unicode 4.1 */
1476 
1480  UBLOCK_ANCIENT_GREEK_NUMBERS = 127, /*[10140]*/
1482  UBLOCK_ARABIC_SUPPLEMENT = 128, /*[0750]*/
1484  UBLOCK_BUGINESE = 129, /*[1A00]*/
1486  UBLOCK_CJK_STROKES = 130, /*[31C0]*/
1490  UBLOCK_COPTIC = 132, /*[2C80]*/
1492  UBLOCK_ETHIOPIC_EXTENDED = 133, /*[2D80]*/
1494  UBLOCK_ETHIOPIC_SUPPLEMENT = 134, /*[1380]*/
1496  UBLOCK_GEORGIAN_SUPPLEMENT = 135, /*[2D00]*/
1498  UBLOCK_GLAGOLITIC = 136, /*[2C00]*/
1500  UBLOCK_KHAROSHTHI = 137, /*[10A00]*/
1504  UBLOCK_NEW_TAI_LUE = 139, /*[1980]*/
1506  UBLOCK_OLD_PERSIAN = 140, /*[103A0]*/
1512  UBLOCK_SYLOTI_NAGRI = 143, /*[A800]*/
1514  UBLOCK_TIFINAGH = 144, /*[2D30]*/
1516  UBLOCK_VERTICAL_FORMS = 145, /*[FE10]*/
1517 
1518  /* New blocks in Unicode 5.0 */
1519 
1521  UBLOCK_NKO = 146, /*[07C0]*/
1523  UBLOCK_BALINESE = 147, /*[1B00]*/
1525  UBLOCK_LATIN_EXTENDED_C = 148, /*[2C60]*/
1527  UBLOCK_LATIN_EXTENDED_D = 149, /*[A720]*/
1529  UBLOCK_PHAGS_PA = 150, /*[A840]*/
1531  UBLOCK_PHOENICIAN = 151, /*[10900]*/
1533  UBLOCK_CUNEIFORM = 152, /*[12000]*/
1537  UBLOCK_COUNTING_ROD_NUMERALS = 154, /*[1D360]*/
1538 
1539  /* New blocks in Unicode 5.1 */
1540 
1542  UBLOCK_SUNDANESE = 155, /*[1B80]*/
1544  UBLOCK_LEPCHA = 156, /*[1C00]*/
1546  UBLOCK_OL_CHIKI = 157, /*[1C50]*/
1548  UBLOCK_CYRILLIC_EXTENDED_A = 158, /*[2DE0]*/
1550  UBLOCK_VAI = 159, /*[A500]*/
1552  UBLOCK_CYRILLIC_EXTENDED_B = 160, /*[A640]*/
1554  UBLOCK_SAURASHTRA = 161, /*[A880]*/
1556  UBLOCK_KAYAH_LI = 162, /*[A900]*/
1558  UBLOCK_REJANG = 163, /*[A930]*/
1560  UBLOCK_CHAM = 164, /*[AA00]*/
1562  UBLOCK_ANCIENT_SYMBOLS = 165, /*[10190]*/
1564  UBLOCK_PHAISTOS_DISC = 166, /*[101D0]*/
1566  UBLOCK_LYCIAN = 167, /*[10280]*/
1568  UBLOCK_CARIAN = 168, /*[102A0]*/
1570  UBLOCK_LYDIAN = 169, /*[10920]*/
1572  UBLOCK_MAHJONG_TILES = 170, /*[1F000]*/
1574  UBLOCK_DOMINO_TILES = 171, /*[1F030]*/
1575 
1576  /* New blocks in Unicode 5.2 */
1577 
1579  UBLOCK_SAMARITAN = 172, /*[0800]*/
1583  UBLOCK_TAI_THAM = 174, /*[1A20]*/
1585  UBLOCK_VEDIC_EXTENSIONS = 175, /*[1CD0]*/
1587  UBLOCK_LISU = 176, /*[A4D0]*/
1589  UBLOCK_BAMUM = 177, /*[A6A0]*/
1593  UBLOCK_DEVANAGARI_EXTENDED = 179, /*[A8E0]*/
1597  UBLOCK_JAVANESE = 181, /*[A980]*/
1599  UBLOCK_MYANMAR_EXTENDED_A = 182, /*[AA60]*/
1601  UBLOCK_TAI_VIET = 183, /*[AA80]*/
1603  UBLOCK_MEETEI_MAYEK = 184, /*[ABC0]*/
1607  UBLOCK_IMPERIAL_ARAMAIC = 186, /*[10840]*/
1609  UBLOCK_OLD_SOUTH_ARABIAN = 187, /*[10A60]*/
1611  UBLOCK_AVESTAN = 188, /*[10B00]*/
1615  UBLOCK_INSCRIPTIONAL_PAHLAVI = 190, /*[10B60]*/
1617  UBLOCK_OLD_TURKIC = 191, /*[10C00]*/
1619  UBLOCK_RUMI_NUMERAL_SYMBOLS = 192, /*[10E60]*/
1621  UBLOCK_KAITHI = 193, /*[11080]*/
1623  UBLOCK_EGYPTIAN_HIEROGLYPHS = 194, /*[13000]*/
1630 
1631  /* New blocks in Unicode 6.0 */
1632 
1634  UBLOCK_MANDAIC = 198, /*[0840]*/
1636  UBLOCK_BATAK = 199, /*[1BC0]*/
1638  UBLOCK_ETHIOPIC_EXTENDED_A = 200, /*[AB00]*/
1640  UBLOCK_BRAHMI = 201, /*[11000]*/
1642  UBLOCK_BAMUM_SUPPLEMENT = 202, /*[16800]*/
1644  UBLOCK_KANA_SUPPLEMENT = 203, /*[1B000]*/
1646  UBLOCK_PLAYING_CARDS = 204, /*[1F0A0]*/
1650  UBLOCK_EMOTICONS = 206, /*[1F600]*/
1654  UBLOCK_ALCHEMICAL_SYMBOLS = 208, /*[1F700]*/
1657 
1658  /* New blocks in Unicode 6.1 */
1659 
1661  UBLOCK_ARABIC_EXTENDED_A = 210, /*[08A0]*/
1665  UBLOCK_CHAKMA = 212, /*[11100]*/
1669  UBLOCK_MEROITIC_CURSIVE = 214, /*[109A0]*/
1671  UBLOCK_MEROITIC_HIEROGLYPHS = 215, /*[10980]*/
1673  UBLOCK_MIAO = 216, /*[16F00]*/
1675  UBLOCK_SHARADA = 217, /*[11180]*/
1677  UBLOCK_SORA_SOMPENG = 218, /*[110D0]*/
1681  UBLOCK_TAKRI = 220, /*[11680]*/
1682 
1683  /* New blocks in Unicode 7.0 */
1684 
1686  UBLOCK_BASSA_VAH = 221, /*[16AD0]*/
1688  UBLOCK_CAUCASIAN_ALBANIAN = 222, /*[10530]*/
1690  UBLOCK_COPTIC_EPACT_NUMBERS = 223, /*[102E0]*/
1694  UBLOCK_DUPLOYAN = 225, /*[1BC00]*/
1696  UBLOCK_ELBASAN = 226, /*[10500]*/
1700  UBLOCK_GRANTHA = 228, /*[11300]*/
1702  UBLOCK_KHOJKI = 229, /*[11200]*/
1704  UBLOCK_KHUDAWADI = 230, /*[112B0]*/
1706  UBLOCK_LATIN_EXTENDED_E = 231, /*[AB30]*/
1708  UBLOCK_LINEAR_A = 232, /*[10600]*/
1710  UBLOCK_MAHAJANI = 233, /*[11150]*/
1712  UBLOCK_MANICHAEAN = 234, /*[10AC0]*/
1714  UBLOCK_MENDE_KIKAKUI = 235, /*[1E800]*/
1716  UBLOCK_MODI = 236, /*[11600]*/
1718  UBLOCK_MRO = 237, /*[16A40]*/
1720  UBLOCK_MYANMAR_EXTENDED_B = 238, /*[A9E0]*/
1722  UBLOCK_NABATAEAN = 239, /*[10880]*/
1724  UBLOCK_OLD_NORTH_ARABIAN = 240, /*[10A80]*/
1726  UBLOCK_OLD_PERMIC = 241, /*[10350]*/
1728  UBLOCK_ORNAMENTAL_DINGBATS = 242, /*[1F650]*/
1730  UBLOCK_PAHAWH_HMONG = 243, /*[16B00]*/
1732  UBLOCK_PALMYRENE = 244, /*[10860]*/
1734  UBLOCK_PAU_CIN_HAU = 245, /*[11AC0]*/
1736  UBLOCK_PSALTER_PAHLAVI = 246, /*[10B80]*/
1740  UBLOCK_SIDDHAM = 248, /*[11580]*/
1744  UBLOCK_SUPPLEMENTAL_ARROWS_C = 250, /*[1F800]*/
1746  UBLOCK_TIRHUTA = 251, /*[11480]*/
1748  UBLOCK_WARANG_CITI = 252, /*[118A0]*/
1749 
1750  /* New blocks in Unicode 8.0 */
1751 
1753  UBLOCK_AHOM = 253, /*[11700]*/
1755  UBLOCK_ANATOLIAN_HIEROGLYPHS = 254, /*[14400]*/
1757  UBLOCK_CHEROKEE_SUPPLEMENT = 255, /*[AB70]*/
1763  UBLOCK_HATRAN = 258, /*[108E0]*/
1765  UBLOCK_MULTANI = 259, /*[11280]*/
1767  UBLOCK_OLD_HUNGARIAN = 260, /*[10C80]*/
1771  UBLOCK_SUTTON_SIGNWRITING = 262, /*[1D800]*/
1772 
1773  /* New blocks in Unicode 9.0 */
1774 
1776  UBLOCK_ADLAM = 263, /*[1E900]*/
1778  UBLOCK_BHAIKSUKI = 264, /*[11C00]*/
1780  UBLOCK_CYRILLIC_EXTENDED_C = 265, /*[1C80]*/
1782  UBLOCK_GLAGOLITIC_SUPPLEMENT = 266, /*[1E000]*/
1786  UBLOCK_MARCHEN = 268, /*[11C70]*/
1788  UBLOCK_MONGOLIAN_SUPPLEMENT = 269, /*[11660]*/
1790  UBLOCK_NEWA = 270, /*[11400]*/
1792  UBLOCK_OSAGE = 271, /*[104B0]*/
1794  UBLOCK_TANGUT = 272, /*[17000]*/
1796  UBLOCK_TANGUT_COMPONENTS = 273, /*[18800]*/
1797 
1798  // New blocks in Unicode 10.0
1799 
1803  UBLOCK_KANA_EXTENDED_A = 275, /*[1B100]*/
1805  UBLOCK_MASARAM_GONDI = 276, /*[11D00]*/
1807  UBLOCK_NUSHU = 277, /*[1B170]*/
1809  UBLOCK_SOYOMBO = 278, /*[11A50]*/
1811  UBLOCK_SYRIAC_SUPPLEMENT = 279, /*[0860]*/
1813  UBLOCK_ZANABAZAR_SQUARE = 280, /*[11A00]*/
1814 
1815  // New blocks in Unicode 11.0
1816 
1818  UBLOCK_CHESS_SYMBOLS = 281, /*[1FA00]*/
1820  UBLOCK_DOGRA = 282, /*[11800]*/
1822  UBLOCK_GEORGIAN_EXTENDED = 283, /*[1C90]*/
1824  UBLOCK_GUNJALA_GONDI = 284, /*[11D60]*/
1826  UBLOCK_HANIFI_ROHINGYA = 285, /*[10D00]*/
1828  UBLOCK_INDIC_SIYAQ_NUMBERS = 286, /*[1EC70]*/
1830  UBLOCK_MAKASAR = 287, /*[11EE0]*/
1832  UBLOCK_MAYAN_NUMERALS = 288, /*[1D2E0]*/
1834  UBLOCK_MEDEFAIDRIN = 289, /*[16E40]*/
1836  UBLOCK_OLD_SOGDIAN = 290, /*[10F00]*/
1838  UBLOCK_SOGDIAN = 291, /*[10F30]*/
1839 
1840  // New blocks in Unicode 12.0
1841 
1845  UBLOCK_ELYMAIC = 293, /*[10FE0]*/
1847  UBLOCK_NANDINAGARI = 294, /*[119A0]*/
1851  UBLOCK_OTTOMAN_SIYAQ_NUMBERS = 296, /*[1ED00]*/
1853  UBLOCK_SMALL_KANA_EXTENSION = 297, /*[1B130]*/
1857  UBLOCK_TAMIL_SUPPLEMENT = 299, /*[11FC0]*/
1859  UBLOCK_WANCHO = 300, /*[1E2C0]*/
1860 
1861  // New blocks in Unicode 13.0
1862 
1864  UBLOCK_CHORASMIAN = 301, /*[10FB0]*/
1868  UBLOCK_DIVES_AKURU = 303, /*[11900]*/
1870  UBLOCK_KHITAN_SMALL_SCRIPT = 304, /*[18B00]*/
1872  UBLOCK_LISU_SUPPLEMENT = 305, /*[11FB0]*/
1876  UBLOCK_TANGUT_SUPPLEMENT = 307, /*[18D00]*/
1878  UBLOCK_YEZIDI = 308, /*[10E80]*/
1879 
1880  // New blocks in Unicode 14.0
1881 
1883  UBLOCK_ARABIC_EXTENDED_B = 309, /*[0870]*/
1885  UBLOCK_CYPRO_MINOAN = 310, /*[12F90]*/
1887  UBLOCK_ETHIOPIC_EXTENDED_B = 311, /*[1E7E0]*/
1889  UBLOCK_KANA_EXTENDED_B = 312, /*[1AFF0]*/
1891  UBLOCK_LATIN_EXTENDED_F = 313, /*[10780]*/
1893  UBLOCK_LATIN_EXTENDED_G = 314, /*[1DF00]*/
1895  UBLOCK_OLD_UYGHUR = 315, /*[10F70]*/
1897  UBLOCK_TANGSA = 316, /*[16A70]*/
1899  UBLOCK_TOTO = 317, /*[1E290]*/
1903  UBLOCK_VITHKUQI = 319, /*[10570]*/
1906 
1907  // New blocks in Unicode 15.0
1908 
1910  UBLOCK_ARABIC_EXTENDED_C = 321, /*[10EC0]*/
1914  UBLOCK_CYRILLIC_EXTENDED_D = 323, /*[1E030]*/
1916  UBLOCK_DEVANAGARI_EXTENDED_A = 324, /*[11B00]*/
1918  UBLOCK_KAKTOVIK_NUMERALS = 325, /*[1D2C0]*/
1920  UBLOCK_KAWI = 326, /*[11F00]*/
1922  UBLOCK_NAG_MUNDARI = 327, /*[1E4D0]*/
1923 
1924  // New block in Unicode 15.1
1925 
1928 
1929 #ifndef U_HIDE_DEPRECATED_API
1930 
1937 #endif // U_HIDE_DEPRECATED_API
1938 
1941 };
1942 
1944 typedef enum UBlockCode UBlockCode;
1945 
1953 typedef enum UEastAsianWidth {
1954  /*
1955  * Note: UEastAsianWidth constants are parsed by preparseucd.py.
1956  * It matches lines like
1957  * U_EA_<Unicode East_Asian_Width value name>
1958  */
1959 
1960  U_EA_NEUTRAL, /*[N]*/
1961  U_EA_AMBIGUOUS, /*[A]*/
1962  U_EA_HALFWIDTH, /*[H]*/
1963  U_EA_FULLWIDTH, /*[F]*/
1964  U_EA_NARROW, /*[Na]*/
1965  U_EA_WIDE, /*[W]*/
1966 #ifndef U_HIDE_DEPRECATED_API
1967 
1974 #endif // U_HIDE_DEPRECATED_API
1975 } UEastAsianWidth;
1976 
1988 typedef enum UCharNameChoice {
1991 #ifndef U_HIDE_DEPRECATED_API
1992 
1998 #endif /* U_HIDE_DEPRECATED_API */
1999 
2003 #ifndef U_HIDE_DEPRECATED_API
2004 
2009 #endif // U_HIDE_DEPRECATED_API
2010 } UCharNameChoice;
2011 
2025 typedef enum UPropertyNameChoice {
2026  U_SHORT_PROPERTY_NAME,
2027  U_LONG_PROPERTY_NAME,
2028 #ifndef U_HIDE_DEPRECATED_API
2029 
2034 #endif // U_HIDE_DEPRECATED_API
2036 
2043 typedef enum UDecompositionType {
2044  /*
2045  * Note: UDecompositionType constants are parsed by preparseucd.py.
2046  * It matches lines like
2047  * U_DT_<Unicode Decomposition_Type value name>
2048  */
2049 
2050  U_DT_NONE, /*[none]*/
2051  U_DT_CANONICAL, /*[can]*/
2052  U_DT_COMPAT, /*[com]*/
2053  U_DT_CIRCLE, /*[enc]*/
2054  U_DT_FINAL, /*[fin]*/
2055  U_DT_FONT, /*[font]*/
2056  U_DT_FRACTION, /*[fra]*/
2057  U_DT_INITIAL, /*[init]*/
2058  U_DT_ISOLATED, /*[iso]*/
2059  U_DT_MEDIAL, /*[med]*/
2060  U_DT_NARROW, /*[nar]*/
2061  U_DT_NOBREAK, /*[nb]*/
2062  U_DT_SMALL, /*[sml]*/
2063  U_DT_SQUARE, /*[sqr]*/
2064  U_DT_SUB, /*[sub]*/
2065  U_DT_SUPER, /*[sup]*/
2066  U_DT_VERTICAL, /*[vert]*/
2067  U_DT_WIDE, /*[wide]*/
2068 #ifndef U_HIDE_DEPRECATED_API
2069 
2075  U_DT_COUNT /* 18 */
2076 #endif // U_HIDE_DEPRECATED_API
2078 
2085 typedef enum UJoiningType {
2086  /*
2087  * Note: UJoiningType constants are parsed by preparseucd.py.
2088  * It matches lines like
2089  * U_JT_<Unicode Joining_Type value name>
2090  */
2091 
2092  U_JT_NON_JOINING, /*[U]*/
2093  U_JT_JOIN_CAUSING, /*[C]*/
2094  U_JT_DUAL_JOINING, /*[D]*/
2095  U_JT_LEFT_JOINING, /*[L]*/
2096  U_JT_RIGHT_JOINING, /*[R]*/
2097  U_JT_TRANSPARENT, /*[T]*/
2098 #ifndef U_HIDE_DEPRECATED_API
2099 
2105  U_JT_COUNT /* 6 */
2106 #endif // U_HIDE_DEPRECATED_API
2107 } UJoiningType;
2108 
2115 typedef enum UJoiningGroup {
2116  /*
2117  * Note: UJoiningGroup constants are parsed by preparseucd.py.
2118  * It matches lines like
2119  * U_JG_<Unicode Joining_Group value name>
2120  */
2121 
2122  U_JG_NO_JOINING_GROUP,
2123  U_JG_AIN,
2124  U_JG_ALAPH,
2125  U_JG_ALEF,
2126  U_JG_BEH,
2127  U_JG_BETH,
2128  U_JG_DAL,
2129  U_JG_DALATH_RISH,
2130  U_JG_E,
2131  U_JG_FEH,
2132  U_JG_FINAL_SEMKATH,
2133  U_JG_GAF,
2134  U_JG_GAMAL,
2135  U_JG_HAH,
2137  U_JG_HAMZA_ON_HEH_GOAL=U_JG_TEH_MARBUTA_GOAL,
2138  U_JG_HE,
2139  U_JG_HEH,
2140  U_JG_HEH_GOAL,
2141  U_JG_HETH,
2142  U_JG_KAF,
2143  U_JG_KAPH,
2144  U_JG_KNOTTED_HEH,
2145  U_JG_LAM,
2146  U_JG_LAMADH,
2147  U_JG_MEEM,
2148  U_JG_MIM,
2149  U_JG_NOON,
2150  U_JG_NUN,
2151  U_JG_PE,
2152  U_JG_QAF,
2153  U_JG_QAPH,
2154  U_JG_REH,
2155  U_JG_REVERSED_PE,
2156  U_JG_SAD,
2157  U_JG_SADHE,
2158  U_JG_SEEN,
2159  U_JG_SEMKATH,
2160  U_JG_SHIN,
2161  U_JG_SWASH_KAF,
2162  U_JG_SYRIAC_WAW,
2163  U_JG_TAH,
2164  U_JG_TAW,
2165  U_JG_TEH_MARBUTA,
2166  U_JG_TETH,
2167  U_JG_WAW,
2168  U_JG_YEH,
2169  U_JG_YEH_BARREE,
2170  U_JG_YEH_WITH_TAIL,
2171  U_JG_YUDH,
2172  U_JG_YUDH_HE,
2173  U_JG_ZAIN,
2231 #ifndef U_HIDE_DEPRECATED_API
2232 
2239 #endif // U_HIDE_DEPRECATED_API
2240 } UJoiningGroup;
2241 
2249  /*
2250  * Note: UGraphemeClusterBreak constants are parsed by preparseucd.py.
2251  * It matches lines like
2252  * U_GCB_<Unicode Grapheme_Cluster_Break value name>
2253  */
2254 
2255  U_GCB_OTHER = 0, /*[XX]*/
2256  U_GCB_CONTROL = 1, /*[CN]*/
2257  U_GCB_CR = 2, /*[CR]*/
2258  U_GCB_EXTEND = 3, /*[EX]*/
2259  U_GCB_L = 4, /*[L]*/
2260  U_GCB_LF = 5, /*[LF]*/
2261  U_GCB_LV = 6, /*[LV]*/
2262  U_GCB_LVT = 7, /*[LVT]*/
2263  U_GCB_T = 8, /*[T]*/
2264  U_GCB_V = 9, /*[V]*/
2266  U_GCB_SPACING_MARK = 10, /*[SM]*/ /* from here on: new in Unicode 5.1/ICU 4.0 */
2268  U_GCB_PREPEND = 11, /*[PP]*/
2270  U_GCB_REGIONAL_INDICATOR = 12, /*[RI]*/ /* new in Unicode 6.2/ICU 50 */
2272  U_GCB_E_BASE = 13, /*[EB]*/ /* from here on: new in Unicode 9.0/ICU 58 */
2274  U_GCB_E_BASE_GAZ = 14, /*[EBG]*/
2276  U_GCB_E_MODIFIER = 15, /*[EM]*/
2278  U_GCB_GLUE_AFTER_ZWJ = 16, /*[GAZ]*/
2280  U_GCB_ZWJ = 17, /*[ZWJ]*/
2281 
2282 #ifndef U_HIDE_DEPRECATED_API
2283 
2290 #endif // U_HIDE_DEPRECATED_API
2292 
2300 typedef enum UWordBreakValues {
2301  /*
2302  * Note: UWordBreakValues constants are parsed by preparseucd.py.
2303  * It matches lines like
2304  * U_WB_<Unicode Word_Break value name>
2305  */
2306 
2307  U_WB_OTHER = 0, /*[XX]*/
2308  U_WB_ALETTER = 1, /*[LE]*/
2309  U_WB_FORMAT = 2, /*[FO]*/
2310  U_WB_KATAKANA = 3, /*[KA]*/
2311  U_WB_MIDLETTER = 4, /*[ML]*/
2312  U_WB_MIDNUM = 5, /*[MN]*/
2313  U_WB_NUMERIC = 6, /*[NU]*/
2314  U_WB_EXTENDNUMLET = 7, /*[EX]*/
2316  U_WB_CR = 8, /*[CR]*/ /* from here on: new in Unicode 5.1/ICU 4.0 */
2318  U_WB_EXTEND = 9, /*[Extend]*/
2320  U_WB_LF = 10, /*[LF]*/
2322  U_WB_MIDNUMLET =11, /*[MB]*/
2324  U_WB_NEWLINE =12, /*[NL]*/
2326  U_WB_REGIONAL_INDICATOR = 13, /*[RI]*/ /* new in Unicode 6.2/ICU 50 */
2328  U_WB_HEBREW_LETTER = 14, /*[HL]*/ /* from here on: new in Unicode 6.3/ICU 52 */
2330  U_WB_SINGLE_QUOTE = 15, /*[SQ]*/
2332  U_WB_DOUBLE_QUOTE = 16, /*[DQ]*/
2334  U_WB_E_BASE = 17, /*[EB]*/ /* from here on: new in Unicode 9.0/ICU 58 */
2336  U_WB_E_BASE_GAZ = 18, /*[EBG]*/
2338  U_WB_E_MODIFIER = 19, /*[EM]*/
2340  U_WB_GLUE_AFTER_ZWJ = 20, /*[GAZ]*/
2342  U_WB_ZWJ = 21, /*[ZWJ]*/
2344  U_WB_WSEGSPACE = 22, /*[WSEGSPACE]*/
2345 
2346 #ifndef U_HIDE_DEPRECATED_API
2347 
2354 #endif // U_HIDE_DEPRECATED_API
2356 
2363 typedef enum USentenceBreak {
2364  /*
2365  * Note: USentenceBreak constants are parsed by preparseucd.py.
2366  * It matches lines like
2367  * U_SB_<Unicode Sentence_Break value name>
2368  */
2369 
2370  U_SB_OTHER = 0, /*[XX]*/
2371  U_SB_ATERM = 1, /*[AT]*/
2372  U_SB_CLOSE = 2, /*[CL]*/
2373  U_SB_FORMAT = 3, /*[FO]*/
2374  U_SB_LOWER = 4, /*[LO]*/
2375  U_SB_NUMERIC = 5, /*[NU]*/
2376  U_SB_OLETTER = 6, /*[LE]*/
2377  U_SB_SEP = 7, /*[SE]*/
2378  U_SB_SP = 8, /*[SP]*/
2379  U_SB_STERM = 9, /*[ST]*/
2380  U_SB_UPPER = 10, /*[UP]*/
2381  U_SB_CR = 11, /*[CR]*/ /* from here on: new in Unicode 5.1/ICU 4.0 */
2382  U_SB_EXTEND = 12, /*[EX]*/
2383  U_SB_LF = 13, /*[LF]*/
2384  U_SB_SCONTINUE = 14, /*[SC]*/
2385 #ifndef U_HIDE_DEPRECATED_API
2386 
2393 #endif // U_HIDE_DEPRECATED_API
2394 } USentenceBreak;
2395 
2402 typedef enum ULineBreak {
2403  /*
2404  * Note: ULineBreak constants are parsed by preparseucd.py.
2405  * It matches lines like
2406  * U_LB_<Unicode Line_Break value name>
2407  */
2408 
2409  U_LB_UNKNOWN = 0, /*[XX]*/
2410  U_LB_AMBIGUOUS = 1, /*[AI]*/
2411  U_LB_ALPHABETIC = 2, /*[AL]*/
2412  U_LB_BREAK_BOTH = 3, /*[B2]*/
2413  U_LB_BREAK_AFTER = 4, /*[BA]*/
2414  U_LB_BREAK_BEFORE = 5, /*[BB]*/
2415  U_LB_MANDATORY_BREAK = 6, /*[BK]*/
2416  U_LB_CONTINGENT_BREAK = 7, /*[CB]*/
2417  U_LB_CLOSE_PUNCTUATION = 8, /*[CL]*/
2418  U_LB_COMBINING_MARK = 9, /*[CM]*/
2419  U_LB_CARRIAGE_RETURN = 10, /*[CR]*/
2420  U_LB_EXCLAMATION = 11, /*[EX]*/
2421  U_LB_GLUE = 12, /*[GL]*/
2422  U_LB_HYPHEN = 13, /*[HY]*/
2423  U_LB_IDEOGRAPHIC = 14, /*[ID]*/
2425  U_LB_INSEPARABLE = 15, /*[IN]*/
2426  U_LB_INSEPERABLE = U_LB_INSEPARABLE,
2427  U_LB_INFIX_NUMERIC = 16, /*[IS]*/
2428  U_LB_LINE_FEED = 17, /*[LF]*/
2429  U_LB_NONSTARTER = 18, /*[NS]*/
2430  U_LB_NUMERIC = 19, /*[NU]*/
2431  U_LB_OPEN_PUNCTUATION = 20, /*[OP]*/
2432  U_LB_POSTFIX_NUMERIC = 21, /*[PO]*/
2433  U_LB_PREFIX_NUMERIC = 22, /*[PR]*/
2434  U_LB_QUOTATION = 23, /*[QU]*/
2435  U_LB_COMPLEX_CONTEXT = 24, /*[SA]*/
2436  U_LB_SURROGATE = 25, /*[SG]*/
2437  U_LB_SPACE = 26, /*[SP]*/
2438  U_LB_BREAK_SYMBOLS = 27, /*[SY]*/
2439  U_LB_ZWSPACE = 28, /*[ZW]*/
2441  U_LB_NEXT_LINE = 29, /*[NL]*/ /* from here on: new in Unicode 4/ICU 2.6 */
2443  U_LB_WORD_JOINER = 30, /*[WJ]*/
2445  U_LB_H2 = 31, /*[H2]*/ /* from here on: new in Unicode 4.1/ICU 3.4 */
2447  U_LB_H3 = 32, /*[H3]*/
2449  U_LB_JL = 33, /*[JL]*/
2451  U_LB_JT = 34, /*[JT]*/
2453  U_LB_JV = 35, /*[JV]*/
2455  U_LB_CLOSE_PARENTHESIS = 36, /*[CP]*/ /* new in Unicode 5.2/ICU 4.4 */
2457  U_LB_CONDITIONAL_JAPANESE_STARTER = 37,/*[CJ]*/ /* new in Unicode 6.1/ICU 49 */
2459  U_LB_HEBREW_LETTER = 38, /*[HL]*/ /* new in Unicode 6.1/ICU 49 */
2461  U_LB_REGIONAL_INDICATOR = 39,/*[RI]*/ /* new in Unicode 6.2/ICU 50 */
2463  U_LB_E_BASE = 40, /*[EB]*/ /* from here on: new in Unicode 9.0/ICU 58 */
2465  U_LB_E_MODIFIER = 41, /*[EM]*/
2467  U_LB_ZWJ = 42, /*[ZWJ]*/
2469  U_LB_AKSARA = 43, /*[AK]*/
2471  U_LB_AKSARA_PREBASE = 44, /*[AP]*/
2473  U_LB_AKSARA_START = 45, /*[AS]*/
2475  U_LB_VIRAMA_FINAL = 46, /*[VF]*/
2477  U_LB_VIRAMA = 47, /*[VI]*/
2478 #ifndef U_HIDE_DEPRECATED_API
2479 
2486 #endif // U_HIDE_DEPRECATED_API
2487 } ULineBreak;
2488 
2495 typedef enum UNumericType {
2496  /*
2497  * Note: UNumericType constants are parsed by preparseucd.py.
2498  * It matches lines like
2499  * U_NT_<Unicode Numeric_Type value name>
2500  */
2501 
2502  U_NT_NONE, /*[None]*/
2503  U_NT_DECIMAL, /*[de]*/
2504  U_NT_DIGIT, /*[di]*/
2505  U_NT_NUMERIC, /*[nu]*/
2506 #ifndef U_HIDE_DEPRECATED_API
2507 
2514 #endif // U_HIDE_DEPRECATED_API
2515 } UNumericType;
2516 
2523 typedef enum UHangulSyllableType {
2524  /*
2525  * Note: UHangulSyllableType constants are parsed by preparseucd.py.
2526  * It matches lines like
2527  * U_HST_<Unicode Hangul_Syllable_Type value name>
2528  */
2529 
2530  U_HST_NOT_APPLICABLE, /*[NA]*/
2531  U_HST_LEADING_JAMO, /*[L]*/
2532  U_HST_VOWEL_JAMO, /*[V]*/
2533  U_HST_TRAILING_JAMO, /*[T]*/
2534  U_HST_LV_SYLLABLE, /*[LV]*/
2535  U_HST_LVT_SYLLABLE, /*[LVT]*/
2536 #ifndef U_HIDE_DEPRECATED_API
2537 
2544 #endif // U_HIDE_DEPRECATED_API
2546 
2554  /*
2555  * Note: UIndicPositionalCategory constants are parsed by preparseucd.py.
2556  * It matches lines like
2557  * U_INPC_<Unicode Indic_Positional_Category value name>
2558  */
2559 
2593 
2601  /*
2602  * Note: UIndicSyllabicCategory constants are parsed by preparseucd.py.
2603  * It matches lines like
2604  * U_INSC_<Unicode Indic_Syllabic_Category value name>
2605  */
2606 
2680 
2687 typedef enum UVerticalOrientation {
2688  /*
2689  * Note: UVerticalOrientation constants are parsed by preparseucd.py.
2690  * It matches lines like
2691  * U_VO_<Unicode Vertical_Orientation value name>
2692  */
2693 
2703 
2731 U_CAPI UBool U_EXPORT2
2733 
2758 U_CAPI UBool U_EXPORT2
2759 u_stringHasBinaryProperty(const UChar *s, int32_t length, UProperty which);
2760 
2776 U_CAPI const USet * U_EXPORT2
2777 u_getBinaryPropertySet(UProperty property, UErrorCode *pErrorCode);
2778 
2791 U_CAPI UBool U_EXPORT2
2793 
2806 U_CAPI UBool U_EXPORT2
2808 
2821 U_CAPI UBool U_EXPORT2
2823 
2842 U_CAPI UBool U_EXPORT2
2844 
2883 U_CAPI int32_t U_EXPORT2
2885 
2904 U_CAPI int32_t U_EXPORT2
2906 
2933 U_CAPI int32_t U_EXPORT2
2935 
2951 U_CAPI const UCPMap * U_EXPORT2
2952 u_getIntPropertyMap(UProperty property, UErrorCode *pErrorCode);
2953 
2976 U_CAPI double U_EXPORT2
2978 
2986 #define U_NO_NUMERIC_VALUE ((double)-123456789.)
2987 
3011 U_CAPI UBool U_EXPORT2
3012 u_islower(UChar32 c);
3013 
3038 U_CAPI UBool U_EXPORT2
3039 u_isupper(UChar32 c);
3040 
3055 U_CAPI UBool U_EXPORT2
3056 u_istitle(UChar32 c);
3057 
3076 U_CAPI UBool U_EXPORT2
3077 u_isdigit(UChar32 c);
3078 
3097 U_CAPI UBool U_EXPORT2
3098 u_isalpha(UChar32 c);
3099 
3118 U_CAPI UBool U_EXPORT2
3119 u_isalnum(UChar32 c);
3120 
3141 U_CAPI UBool U_EXPORT2
3142 u_isxdigit(UChar32 c);
3143 
3157 U_CAPI UBool U_EXPORT2
3158 u_ispunct(UChar32 c);
3159 
3176 U_CAPI UBool U_EXPORT2
3177 u_isgraph(UChar32 c);
3178 
3204 U_CAPI UBool U_EXPORT2
3205 u_isblank(UChar32 c);
3206 
3229 U_CAPI UBool U_EXPORT2
3230 u_isdefined(UChar32 c);
3231 
3250 U_CAPI UBool U_EXPORT2
3251 u_isspace(UChar32 c);
3252 
3271 U_CAPI UBool U_EXPORT2
3273 
3311 U_CAPI UBool U_EXPORT2
3313 
3335 U_CAPI UBool U_EXPORT2
3336 u_iscntrl(UChar32 c);
3337 
3350 U_CAPI UBool U_EXPORT2
3352 
3368 U_CAPI UBool U_EXPORT2
3369 u_isprint(UChar32 c);
3370 
3388 U_CAPI UBool U_EXPORT2
3389 u_isbase(UChar32 c);
3390 
3407 U_CAPI UCharDirection U_EXPORT2
3409 
3425 U_CAPI UBool U_EXPORT2
3427 
3447 U_CAPI UChar32 U_EXPORT2
3449 
3466 U_CAPI UChar32 U_EXPORT2
3468 
3480 U_CAPI int8_t U_EXPORT2
3481 u_charType(UChar32 c);
3482 
3496 #define U_GET_GC_MASK(c) U_MASK(u_charType(c))
3497 
3515 typedef UBool U_CALLCONV
3516 UCharEnumTypeRange(const void *context, UChar32 start, UChar32 limit, UCharCategory type);
3517 
3537 U_CAPI void U_EXPORT2
3538 u_enumCharTypes(UCharEnumTypeRange *enumRange, const void *context);
3539 
3540 #if !UCONFIG_NO_NORMALIZATION
3541 
3549 U_CAPI uint8_t U_EXPORT2
3551 
3552 #endif
3553 
3577 U_CAPI int32_t U_EXPORT2
3579 
3589 U_CAPI UBlockCode U_EXPORT2
3591 
3624 U_CAPI int32_t U_EXPORT2
3625 u_charName(UChar32 code, UCharNameChoice nameChoice,
3626  char *buffer, int32_t bufferLength,
3627  UErrorCode *pErrorCode);
3628 
3629 #ifndef U_HIDE_DEPRECATED_API
3630 
3648 U_DEPRECATED int32_t U_EXPORT2
3650  char *dest, int32_t destCapacity,
3651  UErrorCode *pErrorCode);
3652 #endif /* U_HIDE_DEPRECATED_API */
3653 
3674 U_CAPI UChar32 U_EXPORT2
3675 u_charFromName(UCharNameChoice nameChoice,
3676  const char *name,
3677  UErrorCode *pErrorCode);
3678 
3696 typedef UBool U_CALLCONV UEnumCharNamesFn(void *context,
3697  UChar32 code,
3698  UCharNameChoice nameChoice,
3699  const char *name,
3700  int32_t length);
3701 
3723 U_CAPI void U_EXPORT2
3724 u_enumCharNames(UChar32 start, UChar32 limit,
3725  UEnumCharNamesFn *fn,
3726  void *context,
3727  UCharNameChoice nameChoice,
3728  UErrorCode *pErrorCode);
3729 
3761 U_CAPI const char* U_EXPORT2
3762 u_getPropertyName(UProperty property,
3763  UPropertyNameChoice nameChoice);
3764 
3784 U_CAPI UProperty U_EXPORT2
3785 u_getPropertyEnum(const char* alias);
3786 
3834 U_CAPI const char* U_EXPORT2
3836  int32_t value,
3837  UPropertyNameChoice nameChoice);
3838 
3870 U_CAPI int32_t U_EXPORT2
3872  const char* alias);
3873 
3888 U_CAPI UBool U_EXPORT2
3889 u_isIDStart(UChar32 c);
3890 
3905 U_CAPI UBool U_EXPORT2
3906 u_isIDPart(UChar32 c);
3907 
3928 U_CAPI UBool U_EXPORT2
3930 
3947 U_CAPI UBool U_EXPORT2
3949 
3968 U_CAPI UBool U_EXPORT2
3970 
3993 U_CAPI UChar32 U_EXPORT2
3994 u_tolower(UChar32 c);
3995 
4018 U_CAPI UChar32 U_EXPORT2
4019 u_toupper(UChar32 c);
4020 
4043 U_CAPI UChar32 U_EXPORT2
4044 u_totitle(UChar32 c);
4045 
4068 U_CAPI UChar32 U_EXPORT2
4069 u_foldCase(UChar32 c, uint32_t options);
4070 
4109 U_CAPI int32_t U_EXPORT2
4110 u_digit(UChar32 ch, int8_t radix);
4111 
4140 U_CAPI UChar32 U_EXPORT2
4141 u_forDigit(int32_t digit, int8_t radix);
4142 
4157 U_CAPI void U_EXPORT2
4158 u_charAge(UChar32 c, UVersionInfo versionArray);
4159 
4171 U_CAPI void U_EXPORT2
4172 u_getUnicodeVersion(UVersionInfo versionArray);
4173 
4174 #if !UCONFIG_NO_NORMALIZATION
4175 
4196 U_CAPI int32_t U_EXPORT2
4197 u_getFC_NFKC_Closure(UChar32 c, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode);
4198 
4199 #endif
4200 
4201 
4203 
4204 #endif /*_UCHAR*/
4205 /*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:59
Binary property Ideographic.
Definition: uchar.h:271
Unicode 4.0.1 renames the "Cyrillic Supplementary" block to "Cyrillic Supplement".
Definition: uchar.h:1414
Enumerated property Indic_Positional_Category.
Definition: uchar.h:656
Binary property Changes_When_Lowercased.
Definition: uchar.h:423
Binary property IDS_Binary_Operator (new in Unicode 3.2).
Definition: uchar.h:275
Binary property ID_Compat_Math_Continue.
Definition: uchar.h:554
U_CAPI UBool u_isalnum(UChar32 c)
Determines whether the specified code point is an alphanumeric character (letter or digit) according ...
Binary property Case_Ignorable.
Definition: uchar.h:421
Enumerated property NFC_Quick_Check.
Definition: uchar.h:611
U_CAPI UBool u_isbase(UChar32 c)
Non-standard: Determines whether the specified code point is a base character.
One more than the highest normal UJoiningGroup value.
Definition: uchar.h:2238
Miscellaneous property Script_Extensions (new in Unicode 6.0).
Definition: uchar.h:774
Same as UBLOCK_PRIVATE_USE_AREA.
Definition: uchar.h:1356
First constant for enumerated/integer Unicode properties.
Definition: uchar.h:568
Binary property XID_Start.
Definition: uchar.h:328
Binary property Join_Control.
Definition: uchar.h:282
Binary property Logical_Order_Exception (new in Unicode 3.2).
Definition: uchar.h:286
struct UCPMap UCPMap
Abstract map from Unicode code points (U+0000..U+10FFFF) to integer values.
Definition: ucpmap.h:30
Binary property White_Space.
Definition: uchar.h:321
String property Titlecase_Mapping.
Definition: uchar.h:747
U_CAPI UBool u_isISOControl(UChar32 c)
Determines whether the specified code point is an ISO control code.
U_CAPI int32_t u_getIntPropertyValue(UChar32 c, UProperty which)
Get the property value for an enumerated or integer Unicode property for a code point.
#define U_CAPI
This is used to declare a function as a public ICU C API.
Definition: umachine.h:110
U_CAPI UBool u_isblank(UChar32 c)
Determines whether the specified code point is a "blank" or "horizontal space", a character that visi...
One more than the highest normal UPropertyNameChoice value.
Definition: uchar.h:2033
U_CAPI UChar32 u_getBidiPairedBracket(UChar32 c)
Maps the specified character to its paired bracket character.
One more than the last constant for enumerated/integer Unicode properties.
Definition: uchar.h:676
Enumerated property Numeric_Type.
Definition: uchar.h:596
Binary property xdigit (a C/POSIX character class).
Definition: uchar.h:417
Binary property Alphabetic.
Definition: uchar.h:209
First constant for double Unicode properties.
Definition: uchar.h:702
C API: Bit set option bit constants for various string and character processing functions.
U_CAPI UBool u_isdefined(UChar32 c)
Determines whether the specified code point is "defined", which usually means that it is assigned a c...
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:3696
Binary property of strings RGI_Emoji.
Definition: uchar.h:534
U_CAPI 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.
U_CAPI UBool u_isspace(UChar32 c)
Determines if the specified character is a space character or not.
One more than the highest normal USentenceBreak value.
Definition: uchar.h:2392
Binary property Emoji_Component.
Definition: uchar.h:468
Binary property of strings Emoji_Keycap_Sequence.
Definition: uchar.h:499
Binary property Emoji.
Definition: uchar.h:440
Cn "Other, Not Assigned (no characters in [UnicodeData.txt] have this property)" (same as U_UNASSIGNE...
Definition: uchar.h:806
U_CAPI UProperty u_getPropertyEnum(const char *alias)
Return the UProperty enum for a given property name, as specified in the Unicode database file Proper...
String property Simple_Case_Folding.
Definition: uchar.h:735
U_CAPI 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.
Binary property NFC_Inert.
Definition: uchar.h:364
Binary property graph (a C/POSIX character class).
Definition: uchar.h:407
String property Bidi_Mirroring_Glyph.
Definition: uchar.h:718
One more than the last constant for bit-mask Unicode properties.
Definition: uchar.h:695
U_CAPI UBool u_isULowercase(UChar32 c)
Check if a code point has the Lowercase Unicode property.
Enumerated property Block.
Definition: uchar.h:571
Represents a nonexistent or invalid property or property value.
Definition: uchar.h:786
Renamed from the misspelled "inseperable" in Unicode 4.0.1/ICU 3.0.
Definition: uchar.h:2425
Binary property IDS_Unary_Operator.
Definition: uchar.h:542
Binary property Radical (new in Unicode 3.2).
Definition: uchar.h:301
UCharDirection
This specifies the language directional property of a character set.
Definition: uchar.h:991
Binary property IDS_Trinary_Operator (new in Unicode 3.2).
Definition: uchar.h:279
Binary property Grapheme_Link (new in Unicode 3.2).
Definition: uchar.h:253
Enumerated property Decomposition_Type.
Definition: uchar.h:577
Binary property Regional_Indicator.
Definition: uchar.h:473
U_CAPI 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.
#define U_CALLCONV
Similar to U_CDECL_BEGIN/U_CDECL_END, this qualifier is necessary in callback function typedefs to ma...
Definition: platform.h:866
String property Case_Folding.
Definition: uchar.h:721
String property Name.
Definition: uchar.h:732
C API: This file defines an abstract map from Unicode code points to integer values.
String property Simple_Uppercase_Mapping.
Definition: uchar.h:744
U_CAPI UBool u_isxdigit(UChar32 c)
Determines whether the specified code point is a hexadecimal digit.
U_CAPI UBool u_isgraph(UChar32 c)
Determines whether the specified code point is a "graphic" character (printable, excluding spaces)...
Enumerated property Bidi_Class.
Definition: uchar.h:566
Enumerated property General_Category.
Definition: uchar.h:584
Binary property Prepended_Concatenation_Mark.
Definition: uchar.h:478
U_CAPI UBool u_isJavaIDPart(UChar32 c)
Determines if the specified character is permissible in a Java identifier.
Sm.
Definition: uchar.h:854
U_CAPI void u_charAge(UChar32 c, UVersionInfo versionArray)
Get the "age" of the code point.
String property Unicode_1_Name.
Definition: uchar.h:753
U_CAPI int32_t u_getIntPropertyMinValue(UProperty which)
Get the minimum value for an enumerated/integer/binary Unicode property.
U_CAPI void u_getUnicodeVersion(UVersionInfo versionArray)
Gets the Unicode version information.
UNumericType
Numeric Type constants.
Definition: uchar.h:2495
U_CAPI UChar32 u_charMirror(UChar32 c)
Maps the specified character to a "mirror-image" character.
One more than the highest normal UBidiPairedBracketType value.
Definition: uchar.h:1082
Binary property Pattern_White_Space (new in Unicode 4.1).
Definition: uchar.h:392
Enumerated property Vertical_Orientation.
Definition: uchar.h:670
Close paired bracket.
Definition: uchar.h:1074
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<=c...
Definition: uchar.h:3516
Binary property Changes_When_Casefolded.
Definition: uchar.h:429
U_CAPI void u_enumCharTypes(UCharEnumTypeRange *enumRange, const void *context)
Enumerate efficiently all code points with their Unicode general categories.
Binary property NFD_Inert.
Definition: uchar.h:350
Binary property Diacritic.
Definition: uchar.h:234
Binary property Terminal_Punctuation.
Definition: uchar.h:310
U_CAPI UBool u_isMirrored(UChar32 c)
Determines whether the code point has the Bidi_Mirrored property.
U_CAPI const UCPMap * u_getIntPropertyMap(UProperty property, UErrorCode *pErrorCode)
Returns an immutable UCPMap for an enumerated/catalog/int-valued property.
One more than the highest normal UNumericType value.
Definition: uchar.h:2513
U_CAPI UBool u_isUWhiteSpace(UChar32 c)
Check if a code point has the White_Space Unicode property.
Enumerated property NFD_Quick_Check.
Definition: uchar.h:605
U_CAPI int32_t u_digit(UChar32 ch, int8_t radix)
Returns the decimal digit value of the code point in the specified radix.
U_CAPI uint8_t u_getCombiningClass(UChar32 c)
Returns the combining class of the code point as specified in UnicodeData.txt.
#define U_CDECL_BEGIN
This is used to begin a declaration of a library private ICU C API.
Definition: umachine.h:85
Binary property STerm (new in Unicode 4.0.1).
Definition: uchar.h:337
Enumerated property Joining_Group.
Definition: uchar.h:587
Binary property ID_Continue.
Definition: uchar.h:264
Binary property Emoji_Presentation.
Definition: uchar.h:447
U_CAPI 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...
Open paired bracket.
Definition: uchar.h:1072
Binary property blank (a C/POSIX character class).
Definition: uchar.h:402
Binary property Quotation_Mark.
Definition: uchar.h:297
#define U_DEPRECATED
This is used to declare a function as a deprecated public ICU C API.
Definition: umachine.h:116
Binary property Changes_When_NFKC_Casefolded.
Definition: uchar.h:433
U_CAPI UBlockCode ublock_getCode(UChar32 c)
Returns the Unicode allocation block that contains the character.
First constant for binary Unicode properties.
Definition: uchar.h:211
U_CAPI UBool u_isIDStart(UChar32 c)
Determines if the specified character is permissible as the first character in an identifier accordin...
Binary property Noncharacter_Code_Point.
Definition: uchar.h:295
Binary property Hyphen.
Definition: uchar.h:259
U_CAPI UBool u_ispunct(UChar32 c)
Determines whether the specified code point is a punctuation character.
U_CAPI int32_t u_charName(UChar32 code, UCharNameChoice nameChoice, char *buffer, int32_t bufferLength, UErrorCode *pErrorCode)
Retrieve the name of a Unicode character.
Enumerated property East_Asian_Width.
Definition: uchar.h:581
ULineBreak
Line Break constants.
Definition: uchar.h:2402
U_CAPI double u_getNumericValue(UChar32 c)
Get the numeric value for a Unicode code point as defined in the Unicode Character Database...
U_CAPI UBool u_isUUppercase(UChar32 c)
Check if a code point has the Uppercase Unicode property.
One more than the highest UCharDirection value.
Definition: uchar.h:1052
U_CAPI 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.
Binary property Full_Composition_Exclusion.
Definition: uchar.h:242
Bitmask property General_Category_Mask.
Definition: uchar.h:687
String property Simple_Titlecase_Mapping.
Definition: uchar.h:741
One more than the highest normal UGraphemeClusterBreak value.
Definition: uchar.h:2289
Unicode 3.2 renames this block to "Combining Diacritical Marks for Symbols".
Definition: uchar.h:1233
UDecompositionType
Decomposition Type constants.
Definition: uchar.h:2043
One more than the highest normal ULineBreak value.
Definition: uchar.h:2485
UHangulSyllableType
Hangul Syllable Type constants.
Definition: uchar.h:2523
String property Simple_Lowercase_Mapping.
Definition: uchar.h:738
UIndicPositionalCategory
Indic Positional Category constants.
Definition: uchar.h:2553
Binary property print (a C/POSIX character class).
Definition: uchar.h:412
Binary property Case_Sensitive.
Definition: uchar.h:332
Standard or synthetic character name.
Definition: uchar.h:2000
Binary property Bidi_Mirrored.
Definition: uchar.h:222
UVerticalOrientation
Vertical Orientation constants.
Definition: uchar.h:2687
Binary property NFKC_Inert.
Definition: uchar.h:371
U_CAPI 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...
Binary property Changes_When_Casemapped.
Definition: uchar.h:431
First constant for string Unicode properties.
Definition: uchar.h:715
Binary property Grapheme_Extend (new in Unicode 3.2).
Definition: uchar.h:250
int32_t UChar32
Define UChar32 as a type for single Unicode code points.
Definition: umachine.h:435
U_CAPI UBool u_isUAlphabetic(UChar32 c)
Check if a code point has the Alphabetic Unicode property.
UGraphemeClusterBreak
Grapheme Cluster Break constants.
Definition: uchar.h:2248
New No_Block value in Unicode 4.
Definition: uchar.h:1098
Binary property Extender.
Definition: uchar.h:238
Double property Numeric_Value.
Definition: uchar.h:700
Binary property Math.
Definition: uchar.h:291
Unicode character name (Name property).
Definition: uchar.h:1990
U_CAPI const char * u_getPropertyName(UProperty property, UPropertyNameChoice nameChoice)
Return the Unicode name for a given property, as given in the Unicode database file PropertyAliases...
Binary property Grapheme_Base (new in Unicode 3.2).
Definition: uchar.h:246
Binary property NFKD_Inert.
Definition: uchar.h:357
U_CAPI UBool u_isIDIgnorable(UChar32 c)
Determines if the specified character should be regarded as an ignorable character in an identifier...
UCharCategory
Data for enumerated Unicode general category types.
Definition: uchar.h:794
Enumerated property Sentence_Break (new in Unicode 4.1).
Definition: uchar.h:638
Binary property Lowercase.
Definition: uchar.h:289
First constant for bit-mask Unicode properties.
Definition: uchar.h:689
Enumerated property Bidi_Paired_Bracket_Type (new in Unicode 6.3).
Definition: uchar.h:648
Binary property of strings Basic_Emoji.
Definition: uchar.h:492
U_CAPI 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.
USentenceBreak
Sentence Break constants.
Definition: uchar.h:2363
Binary property Extended_Pictographic.
Definition: uchar.h:485
Enumerated property Indic_Syllabic_Category.
Definition: uchar.h:663
Binary property Unified_Ideograph (new in Unicode 3.2).
Definition: uchar.h:314
Enumerated property Canonical_Combining_Class.
Definition: uchar.h:574
UCharNameChoice
Selector constants for u_charName().
Definition: uchar.h:1988
One more than the last constant for binary Unicode properties.
Definition: uchar.h:561
Enumerated property Script.
Definition: uchar.h:599
Unicode 3.2 renames this block to "Greek and Coptic".
Definition: uchar.h:1125
Binary property Hex_Digit.
Definition: uchar.h:256
String property Uppercase_Mapping.
Definition: uchar.h:757
UPropertyNameChoice
Selector constants for u_getPropertyName() and u_getPropertyValueName().
Definition: uchar.h:2025
U_CAPI UBool u_isupper(UChar32 c)
Determines whether the specified code point has the general category "Lu" (uppercase letter)...
String property Lowercase_Mapping.
Definition: uchar.h:729
char16_t UChar
The base type for UTF-16 code units and pointers.
Definition: umachine.h:386
#define U_CDECL_END
This is used to end a declaration of a library private ICU C API.
Definition: umachine.h:86
Enumerated property NFKC_Quick_Check.
Definition: uchar.h:614
Not a paired bracket.
Definition: uchar.h:1070
U_CAPI UBool u_stringHasBinaryProperty(const UChar *s, int32_t length, UProperty which)
Returns true if the property is true for the string.
UProperty
Selection constants for Unicode properties.
Definition: uchar.h:195
U_CAPI const USet * u_getBinaryPropertySet(UProperty property, UErrorCode *pErrorCode)
Returns a frozen USet for a binary property.
Enumerated property Hangul_Syllable_Type, new in Unicode 4.
Definition: uchar.h:602
Binary property Dash.
Definition: uchar.h:224
Binary property alnum (a C/POSIX character class).
Definition: uchar.h:397
Cf.
Definition: uchar.h:838
Binary property Variation_Selector (new in Unicode 4.0.1).
Definition: uchar.h:343
Binary property of strings RGI_Emoji_ZWJ_Sequence.
Definition: uchar.h:527
One more than the highest normal UHangulSyllableType value.
Definition: uchar.h:2543
UBlockCode
Constants for Unicode blocks, see the Unicode Data file Blocks.txt.
Definition: uchar.h:1090
Enumerated property Word_Break (new in Unicode 4.1).
Definition: uchar.h:643
Binary property Deprecated (new in Unicode 3.2).
Definition: uchar.h:231
Binary property Bidi_Control.
Definition: uchar.h:217
Binary property XID_Continue.
Definition: uchar.h:325
Same as UBLOCK_PRIVATE_USE.
Definition: uchar.h:1346
UErrorCode
Standard ICU4C error code type, a substitute for exceptions.
Definition: utypes.h:415
Binary property Uppercase.
Definition: uchar.h:317
Binary property Changes_When_Uppercased.
Definition: uchar.h:425
UJoiningGroup
Joining Group constants.
Definition: uchar.h:2115
Binary property Cased.
Definition: uchar.h:419
struct USet USet
USet is the C API type corresponding to C++ class UnicodeSet.
Definition: uset.h:50
One more than the highest normal UEastAsianWidth value.
Definition: uchar.h:1973
U_CAPI UCharDirection u_charDirection(UChar32 c)
Returns the bidirectional category value for the code point, which is used in the Unicode bidirection...
One more than the highest normal UDecompositionType value.
Definition: uchar.h:2075
Cs.
Definition: uchar.h:842
UEastAsianWidth
East Asian Width constants.
Definition: uchar.h:1953
Enumerated property Trail_Canonical_Combining_Class.
Definition: uchar.h:628
U_CAPI int8_t u_charType(UChar32 c)
Returns the general category value for the code point.
U_CAPI UBool u_hasBinaryProperty(UChar32 c, UProperty which)
Check a binary Unicode property for a code point.
Non-category for unassigned and non-character code points.
Definition: uchar.h:804
First constant for Unicode properties with unusual value types.
Definition: uchar.h:776
U_CAPI int32_t u_charDigitValue(UChar32 c)
Returns the decimal digit value of a decimal digit character.
U_CAPI int32_t u_getIntPropertyMaxValue(UProperty which)
Get the maximum value for an enumerated/integer/binary Unicode property.
UWordBreakValues
Word Break constants.
Definition: uchar.h:2300
Binary property of strings RGI_Emoji_Modifier_Sequence.
Definition: uchar.h:506
U_CAPI UBool u_isJavaIDStart(UChar32 c)
Determines if the specified character is permissible as the first character in a Java identifier...
Enumerated property Joining_Type.
Definition: uchar.h:590
One more than the last constant for double Unicode properties.
Definition: uchar.h:708
Binary property Emoji_Modifier.
Definition: uchar.h:454
Basic definitions for ICU, for both C and C++ APIs.
U_CAPI UBool u_isWhitespace(UChar32 c)
Determines if the specified code point is a whitespace character according to Java/ICU.
U_CAPI UBool u_isJavaSpaceChar(UChar32 c)
Determine if the specified code point is a space character according to Java.
String property Bidi_Paired_Bracket (new in Unicode 6.3).
Definition: uchar.h:760
Enumerated property Lead_Canonical_Combining_Class.
Definition: uchar.h:621
Binary property ASCII_Hex_Digit.
Definition: uchar.h:213
UJoiningType
Joining Type constants.
Definition: uchar.h:2085
Binary property Soft_Dotted (new in Unicode 3.2).
Definition: uchar.h:306
One more than the last constant for string Unicode properties.
Definition: uchar.h:766
Binary property Emoji_Modifier_Base.
Definition: uchar.h:461
Binary Property Segment_Starter.
Definition: uchar.h:382
U_CAPI UChar32 u_forDigit(int32_t digit, int8_t radix)
Determines the character representation for a specific digit in the specified radix.
Binary property ID_Start.
Definition: uchar.h:268
Corrected name from NameAliases.txt.
Definition: uchar.h:2002
Binary property Changes_When_Titlecased.
Definition: uchar.h:427
Enumerated property Line_Break.
Definition: uchar.h:593
One more than the highest normal UJoiningType value.
Definition: uchar.h:2105
U_CAPI UBool u_isalpha(UChar32 c)
Determines whether the specified code point is a letter character.
U_CAPI 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 Grapheme_Cluster_Break (new in Unicode 4.1).
Definition: uchar.h:633
Binary property ID_Compat_Math_Start.
Definition: uchar.h:548
U_CAPI UBool u_iscntrl(UChar32 c)
Determines whether the specified code point is a control character (as defined by this function)...
Deprecated string property ISO_Comment.
Definition: uchar.h:725
Binary property of strings RGI_Emoji_Flag_Sequence.
Definition: uchar.h:513
U_CAPI UBool u_isIDPart(UChar32 c)
Determines if the specified character is permissible as a non-initial character of an identifier acco...
U_CAPI UBool u_islower(UChar32 c)
Determines whether the specified code point has the general category "Ll" (lowercase letter)...
Binary property Default_Ignorable_Code_Point (new in Unicode 3.2).
Definition: uchar.h:228
One more than the highest normal UBlockCode value.
Definition: uchar.h:1936
The Unicode_1_Name property value which is of little practical value.
Definition: uchar.h:1997
int32_t u_getISOComment(UChar32 c, char *dest, int32_t destCapacity, UErrorCode *pErrorCode)
Returns an empty string.
One higher than the last enum UCharCategory constant.
Definition: uchar.h:872
Binary property of strings RGI_Emoji_Tag_Sequence.
Definition: uchar.h:520
One more than the highest normal UWordBreakValues value.
Definition: uchar.h:2353
Binary property Pattern_Syntax (new in Unicode 4.1).
Definition: uchar.h:387
One more than the last constant for Unicode properties with unusual value types.
Definition: uchar.h:782
U_CAPI UBool u_isprint(UChar32 c)
Determines whether the specified code point is a printable character.
UBidiPairedBracketType
Bidi Paired Bracket Type constants.
Definition: uchar.h:1062
One more than the highest normal UCharNameChoice value.
Definition: uchar.h:2008
UIndicSyllabicCategory
Indic Syllabic Category constants.
Definition: uchar.h:2600
U_CAPI UBool u_isdigit(UChar32 c)
Determines whether the specified code point is a digit character according to Java.
String property Age.
Definition: uchar.h:713
int8_t UBool
The ICU boolean type, a signed-byte integer.
Definition: umachine.h:247
U_CAPI UChar32 u_charFromName(UCharNameChoice nameChoice, const char *name, UErrorCode *pErrorCode)
Find a Unicode character by its name and return its code point value.
Enumerated property NFKD_Quick_Check.
Definition: uchar.h:608
U_CAPI UBool u_istitle(UChar32 c)
Determines whether the specified code point is a titlecase letter.