ICU 78.2: common/unicode/uscript.h Source File

ICU 78.2 78.2

uscript.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 USCRIPT.H
10 *
11 * Modification History:
12 *
13 * Date Name Description
14 * 07/06/2001 Ram Creation.
15 ******************************************************************************
16 */
17
18 #ifndef USCRIPT_H
19 #define USCRIPT_H
20 #include "unicode/utypes.h"
21
54 typedef enum UScriptCode {
55 /*
56 * Note: UScriptCode constants and their ISO script code comments
57 * are parsed by preparseucd.py.
58 * It matches lines like
59 * USCRIPT_<Unicode Script value name> = <integer>, / * <ISO script code> * /
60 */
61
63 USCRIPT_INVALID_CODE = -1,
65 USCRIPT_COMMON = 0, /* Zyyy */
67 USCRIPT_INHERITED = 1, /* Zinh */ /* "Code for inherited script", for non-spacing combining marks; also Qaai */
69 USCRIPT_ARABIC = 2, /* Arab */
71 USCRIPT_ARMENIAN = 3, /* Armn */
73 USCRIPT_BENGALI = 4, /* Beng */
75 USCRIPT_BOPOMOFO = 5, /* Bopo */
77 USCRIPT_CHEROKEE = 6, /* Cher */
79 USCRIPT_COPTIC = 7, /* Copt */
81 USCRIPT_CYRILLIC = 8, /* Cyrl */
83 USCRIPT_DESERET = 9, /* Dsrt */
85 USCRIPT_DEVANAGARI = 10, /* Deva */
87 USCRIPT_ETHIOPIC = 11, /* Ethi */
89 USCRIPT_GEORGIAN = 12, /* Geor */
91 USCRIPT_GOTHIC = 13, /* Goth */
93 USCRIPT_GREEK = 14, /* Grek */
95 USCRIPT_GUJARATI = 15, /* Gujr */
97 USCRIPT_GURMUKHI = 16, /* Guru */
99 USCRIPT_HAN = 17, /* Hani */
101 USCRIPT_HANGUL = 18, /* Hang */
103 USCRIPT_HEBREW = 19, /* Hebr */
105 USCRIPT_HIRAGANA = 20, /* Hira */
107 USCRIPT_KANNADA = 21, /* Knda */
109 USCRIPT_KATAKANA = 22, /* Kana */
111 USCRIPT_KHMER = 23, /* Khmr */
113 USCRIPT_LAO = 24, /* Laoo */
115 USCRIPT_LATIN = 25, /* Latn */
117 USCRIPT_MALAYALAM = 26, /* Mlym */
119 USCRIPT_MONGOLIAN = 27, /* Mong */
121 USCRIPT_MYANMAR = 28, /* Mymr */
123 USCRIPT_OGHAM = 29, /* Ogam */
125 USCRIPT_OLD_ITALIC = 30, /* Ital */
127 USCRIPT_ORIYA = 31, /* Orya */
129 USCRIPT_RUNIC = 32, /* Runr */
131 USCRIPT_SINHALA = 33, /* Sinh */
133 USCRIPT_SYRIAC = 34, /* Syrc */
135 USCRIPT_TAMIL = 35, /* Taml */
137 USCRIPT_TELUGU = 36, /* Telu */
139 USCRIPT_THAANA = 37, /* Thaa */
141 USCRIPT_THAI = 38, /* Thai */
143 USCRIPT_TIBETAN = 39, /* Tibt */
145 USCRIPT_CANADIAN_ABORIGINAL = 40, /* Cans */
147 USCRIPT_UCAS = USCRIPT_CANADIAN_ABORIGINAL,
149 USCRIPT_YI = 41, /* Yiii */
150 /* New scripts in Unicode 3.2 */
152 USCRIPT_TAGALOG = 42, /* Tglg */
154 USCRIPT_HANUNOO = 43, /* Hano */
156 USCRIPT_BUHID = 44, /* Buhd */
158 USCRIPT_TAGBANWA = 45, /* Tagb */
159
160 /* New scripts in Unicode 4 */
162 USCRIPT_BRAILLE = 46, /* Brai */
164 USCRIPT_CYPRIOT = 47, /* Cprt */
166 USCRIPT_LIMBU = 48, /* Limb */
168 USCRIPT_LINEAR_B = 49, /* Linb */
170 USCRIPT_OSMANYA = 50, /* Osma */
172 USCRIPT_SHAVIAN = 51, /* Shaw */
174 USCRIPT_TAI_LE = 52, /* Tale */
176 USCRIPT_UGARITIC = 53, /* Ugar */
177
179 USCRIPT_KATAKANA_OR_HIRAGANA = 54,/*Hrkt */
180
181 /* New scripts in Unicode 4.1 */
183 USCRIPT_BUGINESE = 55, /* Bugi */
185 USCRIPT_GLAGOLITIC = 56, /* Glag */
187 USCRIPT_KHAROSHTHI = 57, /* Khar */
189 USCRIPT_SYLOTI_NAGRI = 58, /* Sylo */
191 USCRIPT_NEW_TAI_LUE = 59, /* Talu */
193 USCRIPT_TIFINAGH = 60, /* Tfng */
195 USCRIPT_OLD_PERSIAN = 61, /* Xpeo */
196
197 /* New script codes from Unicode and ISO 15924 */
199 USCRIPT_BALINESE = 62, /* Bali */
201 USCRIPT_BATAK = 63, /* Batk */
203 USCRIPT_BLISSYMBOLS = 64, /* Blis */
205 USCRIPT_BRAHMI = 65, /* Brah */
207 USCRIPT_CHAM = 66, /* Cham */
209 USCRIPT_CIRTH = 67, /* Cirt */
211 USCRIPT_OLD_CHURCH_SLAVONIC_CYRILLIC = 68, /* Cyrs */
213 USCRIPT_DEMOTIC_EGYPTIAN = 69, /* Egyd */
215 USCRIPT_HIERATIC_EGYPTIAN = 70, /* Egyh */
217 USCRIPT_EGYPTIAN_HIEROGLYPHS = 71, /* Egyp */
219 USCRIPT_KHUTSURI = 72, /* Geok */
221 USCRIPT_SIMPLIFIED_HAN = 73, /* Hans */
223 USCRIPT_TRADITIONAL_HAN = 74, /* Hant */
225 USCRIPT_PAHAWH_HMONG = 75, /* Hmng */
227 USCRIPT_OLD_HUNGARIAN = 76, /* Hung */
229 USCRIPT_HARAPPAN_INDUS = 77, /* Inds */
231 USCRIPT_JAVANESE = 78, /* Java */
233 USCRIPT_KAYAH_LI = 79, /* Kali */
235 USCRIPT_LATIN_FRAKTUR = 80, /* Latf */
237 USCRIPT_LATIN_GAELIC = 81, /* Latg */
239 USCRIPT_LEPCHA = 82, /* Lepc */
241 USCRIPT_LINEAR_A = 83, /* Lina */
243 USCRIPT_MANDAIC = 84, /* Mand */
245 USCRIPT_MANDAEAN = USCRIPT_MANDAIC,
247 USCRIPT_MAYAN_HIEROGLYPHS = 85, /* Maya */
249 USCRIPT_MEROITIC_HIEROGLYPHS = 86, /* Mero */
251 USCRIPT_MEROITIC = USCRIPT_MEROITIC_HIEROGLYPHS,
253 USCRIPT_NKO = 87, /* Nkoo */
255 USCRIPT_ORKHON = 88, /* Orkh */
257 USCRIPT_OLD_PERMIC = 89, /* Perm */
259 USCRIPT_PHAGS_PA = 90, /* Phag */
261 USCRIPT_PHOENICIAN = 91, /* Phnx */
263 USCRIPT_MIAO = 92, /* Plrd */
265 USCRIPT_PHONETIC_POLLARD = USCRIPT_MIAO,
267 USCRIPT_RONGORONGO = 93, /* Roro */
269 USCRIPT_SARATI = 94, /* Sara */
271 USCRIPT_ESTRANGELO_SYRIAC = 95, /* Syre */
273 USCRIPT_WESTERN_SYRIAC = 96, /* Syrj */
275 USCRIPT_EASTERN_SYRIAC = 97, /* Syrn */
277 USCRIPT_TENGWAR = 98, /* Teng */
279 USCRIPT_VAI = 99, /* Vaii */
281 USCRIPT_VISIBLE_SPEECH = 100,/* Visp */
283 USCRIPT_CUNEIFORM = 101,/* Xsux */
285 USCRIPT_UNWRITTEN_LANGUAGES = 102,/* Zxxx */
287 USCRIPT_UNKNOWN = 103,/* Zzzz */ /* Unknown="Code for uncoded script", for unassigned code points */
288
290 USCRIPT_CARIAN = 104,/* Cari */
292 USCRIPT_JAPANESE = 105,/* Jpan */
294 USCRIPT_LANNA = 106,/* Lana */
296 USCRIPT_LYCIAN = 107,/* Lyci */
298 USCRIPT_LYDIAN = 108,/* Lydi */
300 USCRIPT_OL_CHIKI = 109,/* Olck */
302 USCRIPT_REJANG = 110,/* Rjng */
304 USCRIPT_SAURASHTRA = 111,/* Saur */
306 USCRIPT_SIGN_WRITING = 112,/* Sgnw */
308 USCRIPT_SUNDANESE = 113,/* Sund */
310 USCRIPT_MOON = 114,/* Moon */
312 USCRIPT_MEITEI_MAYEK = 115,/* Mtei */
313
315 USCRIPT_IMPERIAL_ARAMAIC = 116,/* Armi */
317 USCRIPT_AVESTAN = 117,/* Avst */
319 USCRIPT_CHAKMA = 118,/* Cakm */
321 USCRIPT_KOREAN = 119,/* Kore */
323 USCRIPT_KAITHI = 120,/* Kthi */
325 USCRIPT_MANICHAEAN = 121,/* Mani */
327 USCRIPT_INSCRIPTIONAL_PAHLAVI = 122,/* Phli */
329 USCRIPT_PSALTER_PAHLAVI = 123,/* Phlp */
331 USCRIPT_BOOK_PAHLAVI = 124,/* Phlv */
333 USCRIPT_INSCRIPTIONAL_PARTHIAN = 125,/* Prti */
335 USCRIPT_SAMARITAN = 126,/* Samr */
337 USCRIPT_TAI_VIET = 127,/* Tavt */
339 USCRIPT_MATHEMATICAL_NOTATION = 128,/* Zmth */
341 USCRIPT_SYMBOLS = 129,/* Zsym */
342
344 USCRIPT_BAMUM = 130,/* Bamu */
346 USCRIPT_LISU = 131,/* Lisu */
348 USCRIPT_NAKHI_GEBA = 132,/* Nkgb */
350 USCRIPT_OLD_SOUTH_ARABIAN = 133,/* Sarb */
351
353 USCRIPT_BASSA_VAH = 134,/* Bass */
355 USCRIPT_DUPLOYAN = 135,/* Dupl */
356 #ifndef U_HIDE_DEPRECATED_API
358 USCRIPT_DUPLOYAN_SHORTAND = USCRIPT_DUPLOYAN,
359 #endif /* U_HIDE_DEPRECATED_API */
361 USCRIPT_ELBASAN = 136,/* Elba */
363 USCRIPT_GRANTHA = 137,/* Gran */
365 USCRIPT_KPELLE = 138,/* Kpel */
367 USCRIPT_LOMA = 139,/* Loma */
369 USCRIPT_MENDE = 140,/* Mend */
371 USCRIPT_MEROITIC_CURSIVE = 141,/* Merc */
373 USCRIPT_OLD_NORTH_ARABIAN = 142,/* Narb */
375 USCRIPT_NABATAEAN = 143,/* Nbat */
377 USCRIPT_PALMYRENE = 144,/* Palm */
379 USCRIPT_KHUDAWADI = 145,/* Sind */
381 USCRIPT_SINDHI = USCRIPT_KHUDAWADI,
383 USCRIPT_WARANG_CITI = 146,/* Wara */
384
386 USCRIPT_AFAKA = 147,/* Afak */
388 USCRIPT_JURCHEN = 148,/* Jurc */
390 USCRIPT_MRO = 149,/* Mroo */
392 USCRIPT_NUSHU = 150,/* Nshu */
394 USCRIPT_SHARADA = 151,/* Shrd */
396 USCRIPT_SORA_SOMPENG = 152,/* Sora */
398 USCRIPT_TAKRI = 153,/* Takr */
400 USCRIPT_TANGUT = 154,/* Tang */
402 USCRIPT_WOLEAI = 155,/* Wole */
403
405 USCRIPT_ANATOLIAN_HIEROGLYPHS = 156,/* Hluw */
407 USCRIPT_KHOJKI = 157,/* Khoj */
409 USCRIPT_TIRHUTA = 158,/* Tirh */
410
412 USCRIPT_CAUCASIAN_ALBANIAN = 159,/* Aghb */
414 USCRIPT_MAHAJANI = 160,/* Mahj */
415
417 USCRIPT_AHOM = 161,/* Ahom */
419 USCRIPT_HATRAN = 162,/* Hatr */
421 USCRIPT_MODI = 163,/* Modi */
423 USCRIPT_MULTANI = 164,/* Mult */
425 USCRIPT_PAU_CIN_HAU = 165,/* Pauc */
427 USCRIPT_SIDDHAM = 166,/* Sidd */
428
430 USCRIPT_ADLAM = 167,/* Adlm */
432 USCRIPT_BHAIKSUKI = 168,/* Bhks */
434 USCRIPT_MARCHEN = 169,/* Marc */
436 USCRIPT_NEWA = 170,/* Newa */
438 USCRIPT_OSAGE = 171,/* Osge */
439
441 USCRIPT_HAN_WITH_BOPOMOFO = 172,/* Hanb */
443 USCRIPT_JAMO = 173,/* Jamo */
445 USCRIPT_SYMBOLS_EMOJI = 174,/* Zsye */
446
448 USCRIPT_MASARAM_GONDI = 175,/* Gonm */
450 USCRIPT_SOYOMBO = 176,/* Soyo */
452 USCRIPT_ZANABAZAR_SQUARE = 177,/* Zanb */
453
455 USCRIPT_DOGRA = 178,/* Dogr */
457 USCRIPT_GUNJALA_GONDI = 179,/* Gong */
459 USCRIPT_MAKASAR = 180,/* Maka */
461 USCRIPT_MEDEFAIDRIN = 181,/* Medf */
463 USCRIPT_HANIFI_ROHINGYA = 182,/* Rohg */
465 USCRIPT_SOGDIAN = 183,/* Sogd */
467 USCRIPT_OLD_SOGDIAN = 184,/* Sogo */
468
470 USCRIPT_ELYMAIC = 185,/* Elym */
472 USCRIPT_NYIAKENG_PUACHUE_HMONG = 186,/* Hmnp */
474 USCRIPT_NANDINAGARI = 187,/* Nand */
476 USCRIPT_WANCHO = 188,/* Wcho */
477
479 USCRIPT_CHORASMIAN = 189,/* Chrs */
481 USCRIPT_DIVES_AKURU = 190,/* Diak */
483 USCRIPT_KHITAN_SMALL_SCRIPT = 191,/* Kits */
485 USCRIPT_YEZIDI = 192,/* Yezi */
486
488 USCRIPT_CYPRO_MINOAN = 193,/* Cpmn */
490 USCRIPT_OLD_UYGHUR = 194,/* Ougr */
492 USCRIPT_TANGSA = 195,/* Tnsa */
494 USCRIPT_TOTO = 196,/* Toto */
496 USCRIPT_VITHKUQI = 197,/* Vith */
497
499 USCRIPT_KAWI = 198,/* Kawi */
501 USCRIPT_NAG_MUNDARI = 199,/* Nagm */
502
504 USCRIPT_ARABIC_NASTALIQ = 200, /* Aran */
505
507 USCRIPT_GARAY = 201, /* Gara */
509 USCRIPT_GURUNG_KHEMA = 202, /* Gukh */
511 USCRIPT_KIRAT_RAI = 203, /* Krai */
513 USCRIPT_OL_ONAL = 204, /* Onao */
515 USCRIPT_SUNUWAR = 205, /* Sunu */
517 USCRIPT_TODHRI = 206, /* Todr */
519 USCRIPT_TULU_TIGALARI = 207, /* Tutg */
520
522 USCRIPT_BERIA_ERFE = 208, /* Berf */
524 USCRIPT_SIDETIC = 209, /* Sidt */
526 USCRIPT_TAI_YO = 210, /* Tayo */
528 USCRIPT_TOLONG_SIKI = 211, /* Tols */
530 USCRIPT_TRADITIONAL_HAN_WITH_LATIN = 212, /* Hntl */
531
532 #ifndef U_HIDE_DEPRECATED_API
539 USCRIPT_CODE_LIMIT = 213
540 #endif // U_HIDE_DEPRECATED_API
541 } UScriptCode;
542
562 U_CAPI int32_t U_EXPORT2
563 uscript_getCode(const char* nameOrAbbrOrLocale,UScriptCode* fillIn,int32_t capacity,UErrorCode *err);
564
575 U_CAPI const char* U_EXPORT2
576 uscript_getName(UScriptCode scriptCode);
577
587 U_CAPI const char* U_EXPORT2
588 uscript_getShortName(UScriptCode scriptCode);
589
598 U_CAPI UScriptCode U_EXPORT2
599 uscript_getScript(UChar32 codepoint, UErrorCode *err);
600
613 U_CAPI UBool U_EXPORT2
614 uscript_hasScript(UChar32 c, UScriptCode sc);
615
645 U_CAPI int32_t U_EXPORT2
646 uscript_getScriptExtensions(UChar32 c,
647 UScriptCode *scripts, int32_t capacity,
648 UErrorCode *errorCode);
649
657 typedef enum UScriptUsage {
659 USCRIPT_USAGE_NOT_ENCODED,
661 USCRIPT_USAGE_UNKNOWN,
663 USCRIPT_USAGE_EXCLUDED,
665 USCRIPT_USAGE_LIMITED_USE,
667 USCRIPT_USAGE_ASPIRATIONAL,
669 USCRIPT_USAGE_RECOMMENDED
670 } UScriptUsage;
671
684 U_CAPI int32_t U_EXPORT2
685 uscript_getSampleString(UScriptCode script, UChar *dest, int32_t capacity, UErrorCode *pErrorCode);
686
687 #if U_SHOW_CPLUSPLUS_API
688
689 U_NAMESPACE_BEGIN
690 class UnicodeString;
691 U_NAMESPACE_END
692
702 U_COMMON_API icu::UnicodeString U_EXPORT2
703 uscript_getSampleUnicodeString(UScriptCode script);
704
705 #endif
706
716 U_CAPI UScriptUsage U_EXPORT2
717 uscript_getUsage(UScriptCode script);
718
727 U_CAPI UBool U_EXPORT2
728 uscript_isRightToLeft(UScriptCode script);
729
739 U_CAPI UBool U_EXPORT2
740 uscript_breaksBetweenLetters(UScriptCode script);
741
750 U_CAPI UBool U_EXPORT2
751 uscript_isCased(UScriptCode script);
752
753 #endif
icu::UnicodeString
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
Definition: unistr.h:303
UChar32
int32_t UChar32
Define UChar32 as a type for single Unicode code points.
Definition: umachine.h:449
UBool
int8_t UBool
The ICU boolean type, a signed-byte integer.
Definition: umachine.h:269
U_CAPI
#define U_CAPI
This is used to declare a function as a public ICU C API.
Definition: umachine.h:110
UChar
char16_t UChar
The base type for UTF-16 code units and pointers.
Definition: umachine.h:400
uscript_getSampleString
U_CAPI int32_t uscript_getSampleString(UScriptCode script, UChar *dest, int32_t capacity, UErrorCode *pErrorCode)
Writes the script sample character string.
uscript_getCode
U_CAPI int32_t uscript_getCode(const char *nameOrAbbrOrLocale, UScriptCode *fillIn, int32_t capacity, UErrorCode *err)
Gets the script codes associated with the given locale or ISO 15924 abbreviation or name.
uscript_getScriptExtensions
U_CAPI int32_t uscript_getScriptExtensions(UChar32 c, UScriptCode *scripts, int32_t capacity, UErrorCode *errorCode)
Writes code point c's Script_Extensions as a list of UScriptCode values to the output scripts array a...
uscript_getSampleUnicodeString
U_COMMON_API icu::UnicodeString uscript_getSampleUnicodeString(UScriptCode script)
Returns the script sample character string.
UScriptCode
UScriptCode
Constants for ISO 15924 script codes.
Definition: uscript.h:54
USCRIPT_CYPRIOT
@ USCRIPT_CYPRIOT
Definition: uscript.h:164
USCRIPT_TODHRI
@ USCRIPT_TODHRI
Definition: uscript.h:517
USCRIPT_WOLEAI
@ USCRIPT_WOLEAI
Definition: uscript.h:402
USCRIPT_INSCRIPTIONAL_PAHLAVI
@ USCRIPT_INSCRIPTIONAL_PAHLAVI
Definition: uscript.h:327
USCRIPT_BLISSYMBOLS
@ USCRIPT_BLISSYMBOLS
Definition: uscript.h:203
USCRIPT_ARMENIAN
@ USCRIPT_ARMENIAN
Definition: uscript.h:71
USCRIPT_IMPERIAL_ARAMAIC
@ USCRIPT_IMPERIAL_ARAMAIC
Definition: uscript.h:315
USCRIPT_TULU_TIGALARI
@ USCRIPT_TULU_TIGALARI
Definition: uscript.h:519
USCRIPT_CYPRO_MINOAN
@ USCRIPT_CYPRO_MINOAN
Definition: uscript.h:488
USCRIPT_DESERET
@ USCRIPT_DESERET
Definition: uscript.h:83
USCRIPT_NAKHI_GEBA
@ USCRIPT_NAKHI_GEBA
Definition: uscript.h:348
USCRIPT_SIGN_WRITING
@ USCRIPT_SIGN_WRITING
Sutton SignWriting.
Definition: uscript.h:306
USCRIPT_TANGSA
@ USCRIPT_TANGSA
Definition: uscript.h:492
USCRIPT_SAURASHTRA
@ USCRIPT_SAURASHTRA
Definition: uscript.h:304
USCRIPT_NAG_MUNDARI
@ USCRIPT_NAG_MUNDARI
Definition: uscript.h:501
USCRIPT_OGHAM
@ USCRIPT_OGHAM
Definition: uscript.h:123
USCRIPT_KHOJKI
@ USCRIPT_KHOJKI
Definition: uscript.h:407
USCRIPT_HANGUL
@ USCRIPT_HANGUL
Definition: uscript.h:101
USCRIPT_GURMUKHI
@ USCRIPT_GURMUKHI
Definition: uscript.h:97
USCRIPT_CODE_LIMIT
@ USCRIPT_CODE_LIMIT
One more than the highest normal UScriptCode value.
Definition: uscript.h:539
USCRIPT_WANCHO
@ USCRIPT_WANCHO
Definition: uscript.h:476
USCRIPT_HARAPPAN_INDUS
@ USCRIPT_HARAPPAN_INDUS
Definition: uscript.h:229
USCRIPT_RUNIC
@ USCRIPT_RUNIC
Definition: uscript.h:129
USCRIPT_OL_ONAL
@ USCRIPT_OL_ONAL
Definition: uscript.h:513
USCRIPT_NEWA
@ USCRIPT_NEWA
Definition: uscript.h:436
USCRIPT_SHAVIAN
@ USCRIPT_SHAVIAN
Definition: uscript.h:172
USCRIPT_CANADIAN_ABORIGINAL
@ USCRIPT_CANADIAN_ABORIGINAL
Canadian_Aboriginal script.
Definition: uscript.h:145
USCRIPT_JAVANESE
@ USCRIPT_JAVANESE
Definition: uscript.h:231
USCRIPT_KPELLE
@ USCRIPT_KPELLE
Definition: uscript.h:365
USCRIPT_OLD_NORTH_ARABIAN
@ USCRIPT_OLD_NORTH_ARABIAN
Definition: uscript.h:373
USCRIPT_BOOK_PAHLAVI
@ USCRIPT_BOOK_PAHLAVI
Definition: uscript.h:331
USCRIPT_TRADITIONAL_HAN
@ USCRIPT_TRADITIONAL_HAN
Definition: uscript.h:223
USCRIPT_CUNEIFORM
@ USCRIPT_CUNEIFORM
Definition: uscript.h:283
USCRIPT_MENDE
@ USCRIPT_MENDE
Mende Kikakui.
Definition: uscript.h:369
USCRIPT_MARCHEN
@ USCRIPT_MARCHEN
Definition: uscript.h:434
USCRIPT_AHOM
@ USCRIPT_AHOM
Definition: uscript.h:417
USCRIPT_VAI
@ USCRIPT_VAI
Definition: uscript.h:279
USCRIPT_LATIN_GAELIC
@ USCRIPT_LATIN_GAELIC
Definition: uscript.h:237
USCRIPT_BRAILLE
@ USCRIPT_BRAILLE
Definition: uscript.h:162
USCRIPT_THAI
@ USCRIPT_THAI
Definition: uscript.h:141
USCRIPT_MAHAJANI
@ USCRIPT_MAHAJANI
Definition: uscript.h:414
USCRIPT_LYDIAN
@ USCRIPT_LYDIAN
Definition: uscript.h:298
USCRIPT_MEITEI_MAYEK
@ USCRIPT_MEITEI_MAYEK
Definition: uscript.h:312
USCRIPT_SYMBOLS
@ USCRIPT_SYMBOLS
Definition: uscript.h:341
USCRIPT_MODI
@ USCRIPT_MODI
Definition: uscript.h:421
USCRIPT_BALINESE
@ USCRIPT_BALINESE
Definition: uscript.h:199
USCRIPT_LAO
@ USCRIPT_LAO
Definition: uscript.h:113
USCRIPT_TIRHUTA
@ USCRIPT_TIRHUTA
Definition: uscript.h:409
USCRIPT_MEDEFAIDRIN
@ USCRIPT_MEDEFAIDRIN
Definition: uscript.h:461
USCRIPT_GRANTHA
@ USCRIPT_GRANTHA
Definition: uscript.h:363
USCRIPT_BRAHMI
@ USCRIPT_BRAHMI
Definition: uscript.h:205
USCRIPT_SIDETIC
@ USCRIPT_SIDETIC
Definition: uscript.h:524
USCRIPT_ORKHON
@ USCRIPT_ORKHON
Definition: uscript.h:255
USCRIPT_CHAKMA
@ USCRIPT_CHAKMA
Definition: uscript.h:319
USCRIPT_PHAGS_PA
@ USCRIPT_PHAGS_PA
Definition: uscript.h:259
USCRIPT_HEBREW
@ USCRIPT_HEBREW
Definition: uscript.h:103
USCRIPT_BERIA_ERFE
@ USCRIPT_BERIA_ERFE
Definition: uscript.h:522
USCRIPT_YI
@ USCRIPT_YI
Definition: uscript.h:149
USCRIPT_MONGOLIAN
@ USCRIPT_MONGOLIAN
Definition: uscript.h:119
USCRIPT_BUGINESE
@ USCRIPT_BUGINESE
Definition: uscript.h:183
USCRIPT_NABATAEAN
@ USCRIPT_NABATAEAN
Definition: uscript.h:375
USCRIPT_HANUNOO
@ USCRIPT_HANUNOO
Definition: uscript.h:154
USCRIPT_TAGBANWA
@ USCRIPT_TAGBANWA
Definition: uscript.h:158
USCRIPT_TIBETAN
@ USCRIPT_TIBETAN
Definition: uscript.h:143
USCRIPT_SYLOTI_NAGRI
@ USCRIPT_SYLOTI_NAGRI
Definition: uscript.h:189
USCRIPT_LISU
@ USCRIPT_LISU
Definition: uscript.h:346
USCRIPT_MANICHAEAN
@ USCRIPT_MANICHAEAN
Definition: uscript.h:325
USCRIPT_JAPANESE
@ USCRIPT_JAPANESE
Definition: uscript.h:292
USCRIPT_TAGALOG
@ USCRIPT_TAGALOG
Definition: uscript.h:152
USCRIPT_ADLAM
@ USCRIPT_ADLAM
Definition: uscript.h:430
USCRIPT_CARIAN
@ USCRIPT_CARIAN
Definition: uscript.h:290
USCRIPT_GARAY
@ USCRIPT_GARAY
Definition: uscript.h:507
USCRIPT_OSAGE
@ USCRIPT_OSAGE
Definition: uscript.h:438
USCRIPT_OLD_PERMIC
@ USCRIPT_OLD_PERMIC
Definition: uscript.h:257
USCRIPT_LANNA
@ USCRIPT_LANNA
Definition: uscript.h:294
USCRIPT_BUHID
@ USCRIPT_BUHID
Definition: uscript.h:156
USCRIPT_KAWI
@ USCRIPT_KAWI
Definition: uscript.h:499
USCRIPT_MEROITIC
@ USCRIPT_MEROITIC
Definition: uscript.h:251
USCRIPT_GURUNG_KHEMA
@ USCRIPT_GURUNG_KHEMA
Definition: uscript.h:509
USCRIPT_TAI_VIET
@ USCRIPT_TAI_VIET
Definition: uscript.h:337
USCRIPT_INSCRIPTIONAL_PARTHIAN
@ USCRIPT_INSCRIPTIONAL_PARTHIAN
Definition: uscript.h:333
USCRIPT_MANDAEAN
@ USCRIPT_MANDAEAN
Definition: uscript.h:245
USCRIPT_MEROITIC_HIEROGLYPHS
@ USCRIPT_MEROITIC_HIEROGLYPHS
Definition: uscript.h:249
USCRIPT_YEZIDI
@ USCRIPT_YEZIDI
Definition: uscript.h:485
USCRIPT_UCAS
@ USCRIPT_UCAS
Canadian_Aboriginal script (alias).
Definition: uscript.h:147
USCRIPT_BASSA_VAH
@ USCRIPT_BASSA_VAH
Definition: uscript.h:353
USCRIPT_TAKRI
@ USCRIPT_TAKRI
Definition: uscript.h:398
USCRIPT_EASTERN_SYRIAC
@ USCRIPT_EASTERN_SYRIAC
Definition: uscript.h:275
USCRIPT_MOON
@ USCRIPT_MOON
Definition: uscript.h:310
USCRIPT_NANDINAGARI
@ USCRIPT_NANDINAGARI
Definition: uscript.h:474
USCRIPT_TAMIL
@ USCRIPT_TAMIL
Definition: uscript.h:135
USCRIPT_CHORASMIAN
@ USCRIPT_CHORASMIAN
Definition: uscript.h:479
USCRIPT_HIRAGANA
@ USCRIPT_HIRAGANA
Definition: uscript.h:105
USCRIPT_PHONETIC_POLLARD
@ USCRIPT_PHONETIC_POLLARD
Definition: uscript.h:265
USCRIPT_UGARITIC
@ USCRIPT_UGARITIC
Definition: uscript.h:176
USCRIPT_ARABIC
@ USCRIPT_ARABIC
Definition: uscript.h:69
USCRIPT_CHAM
@ USCRIPT_CHAM
Definition: uscript.h:207
USCRIPT_GREEK
@ USCRIPT_GREEK
Definition: uscript.h:93
USCRIPT_WESTERN_SYRIAC
@ USCRIPT_WESTERN_SYRIAC
Definition: uscript.h:273
USCRIPT_KHITAN_SMALL_SCRIPT
@ USCRIPT_KHITAN_SMALL_SCRIPT
Definition: uscript.h:483
USCRIPT_NYIAKENG_PUACHUE_HMONG
@ USCRIPT_NYIAKENG_PUACHUE_HMONG
Definition: uscript.h:472
USCRIPT_HANIFI_ROHINGYA
@ USCRIPT_HANIFI_ROHINGYA
Definition: uscript.h:463
USCRIPT_KOREAN
@ USCRIPT_KOREAN
Definition: uscript.h:321
USCRIPT_RONGORONGO
@ USCRIPT_RONGORONGO
Definition: uscript.h:267
USCRIPT_OLD_CHURCH_SLAVONIC_CYRILLIC
@ USCRIPT_OLD_CHURCH_SLAVONIC_CYRILLIC
Definition: uscript.h:211
USCRIPT_DOGRA
@ USCRIPT_DOGRA
Definition: uscript.h:455
USCRIPT_BAMUM
@ USCRIPT_BAMUM
Definition: uscript.h:344
USCRIPT_TAI_YO
@ USCRIPT_TAI_YO
Definition: uscript.h:526
USCRIPT_LINEAR_B
@ USCRIPT_LINEAR_B
Definition: uscript.h:168
USCRIPT_MAKASAR
@ USCRIPT_MAKASAR
Definition: uscript.h:459
USCRIPT_MULTANI
@ USCRIPT_MULTANI
Definition: uscript.h:423
USCRIPT_ANATOLIAN_HIEROGLYPHS
@ USCRIPT_ANATOLIAN_HIEROGLYPHS
Definition: uscript.h:405
USCRIPT_TOLONG_SIKI
@ USCRIPT_TOLONG_SIKI
Definition: uscript.h:528
USCRIPT_SOGDIAN
@ USCRIPT_SOGDIAN
Definition: uscript.h:465
USCRIPT_VITHKUQI
@ USCRIPT_VITHKUQI
Definition: uscript.h:496
USCRIPT_SYRIAC
@ USCRIPT_SYRIAC
Definition: uscript.h:133
USCRIPT_MATHEMATICAL_NOTATION
@ USCRIPT_MATHEMATICAL_NOTATION
Definition: uscript.h:339
USCRIPT_DUPLOYAN
@ USCRIPT_DUPLOYAN
Definition: uscript.h:355
USCRIPT_MANDAIC
@ USCRIPT_MANDAIC
Definition: uscript.h:243
USCRIPT_MAYAN_HIEROGLYPHS
@ USCRIPT_MAYAN_HIEROGLYPHS
Definition: uscript.h:247
USCRIPT_OLD_UYGHUR
@ USCRIPT_OLD_UYGHUR
Definition: uscript.h:490
USCRIPT_COMMON
@ USCRIPT_COMMON
Definition: uscript.h:65
USCRIPT_COPTIC
@ USCRIPT_COPTIC
Definition: uscript.h:79
USCRIPT_TRADITIONAL_HAN_WITH_LATIN
@ USCRIPT_TRADITIONAL_HAN_WITH_LATIN
Definition: uscript.h:530
USCRIPT_DEVANAGARI
@ USCRIPT_DEVANAGARI
Definition: uscript.h:85
USCRIPT_OLD_SOGDIAN
@ USCRIPT_OLD_SOGDIAN
Definition: uscript.h:467
USCRIPT_LOMA
@ USCRIPT_LOMA
Definition: uscript.h:367
USCRIPT_ZANABAZAR_SQUARE
@ USCRIPT_ZANABAZAR_SQUARE
Definition: uscript.h:452
USCRIPT_ARABIC_NASTALIQ
@ USCRIPT_ARABIC_NASTALIQ
Definition: uscript.h:504
USCRIPT_DIVES_AKURU
@ USCRIPT_DIVES_AKURU
Definition: uscript.h:481
USCRIPT_HIERATIC_EGYPTIAN
@ USCRIPT_HIERATIC_EGYPTIAN
Definition: uscript.h:215
USCRIPT_UNWRITTEN_LANGUAGES
@ USCRIPT_UNWRITTEN_LANGUAGES
Definition: uscript.h:285
USCRIPT_WARANG_CITI
@ USCRIPT_WARANG_CITI
Definition: uscript.h:383
USCRIPT_KAITHI
@ USCRIPT_KAITHI
Definition: uscript.h:323
USCRIPT_THAANA
@ USCRIPT_THAANA
Definition: uscript.h:139
USCRIPT_AFAKA
@ USCRIPT_AFAKA
Definition: uscript.h:386
USCRIPT_KHMER
@ USCRIPT_KHMER
Definition: uscript.h:111
USCRIPT_LATIN
@ USCRIPT_LATIN
Definition: uscript.h:115
USCRIPT_DEMOTIC_EGYPTIAN
@ USCRIPT_DEMOTIC_EGYPTIAN
Definition: uscript.h:213
USCRIPT_GLAGOLITIC
@ USCRIPT_GLAGOLITIC
Definition: uscript.h:185
USCRIPT_MASARAM_GONDI
@ USCRIPT_MASARAM_GONDI
Definition: uscript.h:448
USCRIPT_TOTO
@ USCRIPT_TOTO
Definition: uscript.h:494
USCRIPT_OL_CHIKI
@ USCRIPT_OL_CHIKI
Definition: uscript.h:300
USCRIPT_TIFINAGH
@ USCRIPT_TIFINAGH
Definition: uscript.h:193
USCRIPT_SIDDHAM
@ USCRIPT_SIDDHAM
Definition: uscript.h:427
USCRIPT_OLD_SOUTH_ARABIAN
@ USCRIPT_OLD_SOUTH_ARABIAN
Definition: uscript.h:350
USCRIPT_PAU_CIN_HAU
@ USCRIPT_PAU_CIN_HAU
Definition: uscript.h:425
USCRIPT_SOYOMBO
@ USCRIPT_SOYOMBO
Definition: uscript.h:450
USCRIPT_SAMARITAN
@ USCRIPT_SAMARITAN
Definition: uscript.h:335
USCRIPT_ELBASAN
@ USCRIPT_ELBASAN
Definition: uscript.h:361
USCRIPT_INHERITED
@ USCRIPT_INHERITED
Definition: uscript.h:67
USCRIPT_PSALTER_PAHLAVI
@ USCRIPT_PSALTER_PAHLAVI
Definition: uscript.h:329
USCRIPT_EGYPTIAN_HIEROGLYPHS
@ USCRIPT_EGYPTIAN_HIEROGLYPHS
Definition: uscript.h:217
USCRIPT_CIRTH
@ USCRIPT_CIRTH
Definition: uscript.h:209
USCRIPT_PALMYRENE
@ USCRIPT_PALMYRENE
Definition: uscript.h:377
USCRIPT_PAHAWH_HMONG
@ USCRIPT_PAHAWH_HMONG
Definition: uscript.h:225
USCRIPT_CHEROKEE
@ USCRIPT_CHEROKEE
Definition: uscript.h:77
USCRIPT_INVALID_CODE
@ USCRIPT_INVALID_CODE
Definition: uscript.h:63
USCRIPT_OLD_HUNGARIAN
@ USCRIPT_OLD_HUNGARIAN
Definition: uscript.h:227
USCRIPT_JAMO
@ USCRIPT_JAMO
Definition: uscript.h:443
USCRIPT_BATAK
@ USCRIPT_BATAK
Definition: uscript.h:201
USCRIPT_ETHIOPIC
@ USCRIPT_ETHIOPIC
Definition: uscript.h:87
USCRIPT_KIRAT_RAI
@ USCRIPT_KIRAT_RAI
Definition: uscript.h:511
USCRIPT_CYRILLIC
@ USCRIPT_CYRILLIC
Definition: uscript.h:81
USCRIPT_LIMBU
@ USCRIPT_LIMBU
Definition: uscript.h:166
USCRIPT_NKO
@ USCRIPT_NKO
Definition: uscript.h:253
USCRIPT_GUNJALA_GONDI
@ USCRIPT_GUNJALA_GONDI
Definition: uscript.h:457
USCRIPT_ELYMAIC
@ USCRIPT_ELYMAIC
Definition: uscript.h:470
USCRIPT_GOTHIC
@ USCRIPT_GOTHIC
Definition: uscript.h:91
USCRIPT_KHUTSURI
@ USCRIPT_KHUTSURI
Definition: uscript.h:219
USCRIPT_KHAROSHTHI
@ USCRIPT_KHAROSHTHI
Definition: uscript.h:187
USCRIPT_KATAKANA
@ USCRIPT_KATAKANA
Definition: uscript.h:109
USCRIPT_ORIYA
@ USCRIPT_ORIYA
Definition: uscript.h:127
USCRIPT_OLD_ITALIC
@ USCRIPT_OLD_ITALIC
Definition: uscript.h:125
USCRIPT_MALAYALAM
@ USCRIPT_MALAYALAM
Definition: uscript.h:117
USCRIPT_HAN
@ USCRIPT_HAN
Definition: uscript.h:99
USCRIPT_LINEAR_A
@ USCRIPT_LINEAR_A
Definition: uscript.h:241
USCRIPT_TENGWAR
@ USCRIPT_TENGWAR
Definition: uscript.h:277
USCRIPT_SUNUWAR
@ USCRIPT_SUNUWAR
Definition: uscript.h:515
USCRIPT_SYMBOLS_EMOJI
@ USCRIPT_SYMBOLS_EMOJI
Definition: uscript.h:445
USCRIPT_VISIBLE_SPEECH
@ USCRIPT_VISIBLE_SPEECH
Definition: uscript.h:281
USCRIPT_LATIN_FRAKTUR
@ USCRIPT_LATIN_FRAKTUR
Definition: uscript.h:235
USCRIPT_UNKNOWN
@ USCRIPT_UNKNOWN
Definition: uscript.h:287
USCRIPT_SINDHI
@ USCRIPT_SINDHI
Definition: uscript.h:381
USCRIPT_NUSHU
@ USCRIPT_NUSHU
Definition: uscript.h:392
USCRIPT_SIMPLIFIED_HAN
@ USCRIPT_SIMPLIFIED_HAN
Definition: uscript.h:221
USCRIPT_SUNDANESE
@ USCRIPT_SUNDANESE
Definition: uscript.h:308
USCRIPT_MYANMAR
@ USCRIPT_MYANMAR
Definition: uscript.h:121
USCRIPT_NEW_TAI_LUE
@ USCRIPT_NEW_TAI_LUE
Definition: uscript.h:191
USCRIPT_MEROITIC_CURSIVE
@ USCRIPT_MEROITIC_CURSIVE
Definition: uscript.h:371
USCRIPT_GUJARATI
@ USCRIPT_GUJARATI
Definition: uscript.h:95
USCRIPT_BOPOMOFO
@ USCRIPT_BOPOMOFO
Definition: uscript.h:75
USCRIPT_LEPCHA
@ USCRIPT_LEPCHA
Definition: uscript.h:239
USCRIPT_MIAO
@ USCRIPT_MIAO
Definition: uscript.h:263
USCRIPT_KATAKANA_OR_HIRAGANA
@ USCRIPT_KATAKANA_OR_HIRAGANA
New script code in Unicode 4.0.1.
Definition: uscript.h:179
USCRIPT_JURCHEN
@ USCRIPT_JURCHEN
Definition: uscript.h:388
USCRIPT_PHOENICIAN
@ USCRIPT_PHOENICIAN
Definition: uscript.h:261
USCRIPT_SHARADA
@ USCRIPT_SHARADA
Definition: uscript.h:394
USCRIPT_SINHALA
@ USCRIPT_SINHALA
Definition: uscript.h:131
USCRIPT_KAYAH_LI
@ USCRIPT_KAYAH_LI
Definition: uscript.h:233
USCRIPT_SARATI
@ USCRIPT_SARATI
Definition: uscript.h:269
USCRIPT_HATRAN
@ USCRIPT_HATRAN
Definition: uscript.h:419
USCRIPT_TELUGU
@ USCRIPT_TELUGU
Definition: uscript.h:137
USCRIPT_MRO
@ USCRIPT_MRO
Definition: uscript.h:390
USCRIPT_DUPLOYAN_SHORTAND
@ USCRIPT_DUPLOYAN_SHORTAND
Definition: uscript.h:358
USCRIPT_ESTRANGELO_SYRIAC
@ USCRIPT_ESTRANGELO_SYRIAC
Definition: uscript.h:271
USCRIPT_KANNADA
@ USCRIPT_KANNADA
Definition: uscript.h:107
USCRIPT_HAN_WITH_BOPOMOFO
@ USCRIPT_HAN_WITH_BOPOMOFO
Definition: uscript.h:441
USCRIPT_OSMANYA
@ USCRIPT_OSMANYA
Definition: uscript.h:170
USCRIPT_BENGALI
@ USCRIPT_BENGALI
Definition: uscript.h:73
USCRIPT_GEORGIAN
@ USCRIPT_GEORGIAN
Definition: uscript.h:89
USCRIPT_BHAIKSUKI
@ USCRIPT_BHAIKSUKI
Definition: uscript.h:432
USCRIPT_TANGUT
@ USCRIPT_TANGUT
Definition: uscript.h:400
USCRIPT_REJANG
@ USCRIPT_REJANG
Definition: uscript.h:302
USCRIPT_KHUDAWADI
@ USCRIPT_KHUDAWADI
Definition: uscript.h:379
USCRIPT_LYCIAN
@ USCRIPT_LYCIAN
Definition: uscript.h:296
USCRIPT_SORA_SOMPENG
@ USCRIPT_SORA_SOMPENG
Definition: uscript.h:396
USCRIPT_OLD_PERSIAN
@ USCRIPT_OLD_PERSIAN
Definition: uscript.h:195
USCRIPT_TAI_LE
@ USCRIPT_TAI_LE
Definition: uscript.h:174
USCRIPT_CAUCASIAN_ALBANIAN
@ USCRIPT_CAUCASIAN_ALBANIAN
Definition: uscript.h:412
USCRIPT_AVESTAN
@ USCRIPT_AVESTAN
Definition: uscript.h:317
uscript_hasScript
U_CAPI UBool uscript_hasScript(UChar32 c, UScriptCode sc)
Do the Script_Extensions of code point c contain script sc? If c does not have explicit Script_Extens...
UScriptUsage
UScriptUsage
Script usage constants.
Definition: uscript.h:657
USCRIPT_USAGE_EXCLUDED
@ USCRIPT_USAGE_EXCLUDED
Candidate for Exclusion from Identifiers.
Definition: uscript.h:663
USCRIPT_USAGE_RECOMMENDED
@ USCRIPT_USAGE_RECOMMENDED
Recommended script.
Definition: uscript.h:669
USCRIPT_USAGE_LIMITED_USE
@ USCRIPT_USAGE_LIMITED_USE
Limited Use script.
Definition: uscript.h:665
USCRIPT_USAGE_UNKNOWN
@ USCRIPT_USAGE_UNKNOWN
Unknown script usage.
Definition: uscript.h:661
USCRIPT_USAGE_ASPIRATIONAL
@ USCRIPT_USAGE_ASPIRATIONAL
Aspirational Use script.
Definition: uscript.h:667
USCRIPT_USAGE_NOT_ENCODED
@ USCRIPT_USAGE_NOT_ENCODED
Not encoded in Unicode.
Definition: uscript.h:659
uscript_breaksBetweenLetters
U_CAPI UBool uscript_breaksBetweenLetters(UScriptCode script)
Returns true if the script allows line breaks between letters (excluding hyphenation).
uscript_isCased
U_CAPI UBool uscript_isCased(UScriptCode script)
Returns true if in modern (or most recent) usage of the script case distinctions are customary.
uscript_getUsage
U_CAPI UScriptUsage uscript_getUsage(UScriptCode script)
Returns the script usage according to UAX #31 Unicode Identifier and Pattern Syntax.
uscript_getName
U_CAPI const char * uscript_getName(UScriptCode scriptCode)
Returns the long Unicode script name, if there is one.
uscript_getShortName
U_CAPI const char * uscript_getShortName(UScriptCode scriptCode)
Returns the 4-letter ISO 15924 script code, which is the same as the short Unicode script name if Uni...
uscript_isRightToLeft
U_CAPI UBool uscript_isRightToLeft(UScriptCode script)
Returns true if the script is written right-to-left.
uscript_getScript
U_CAPI UScriptCode uscript_getScript(UChar32 codepoint, UErrorCode *err)
Gets the script code associated with the given codepoint.
utypes.h
Basic definitions for ICU, for both C and C++ APIs.
UErrorCode
UErrorCode
Standard ICU4C error code type, a substitute for exceptions.
Definition: utypes.h:509
U_COMMON_API
#define U_COMMON_API
Set to export library symbols from inside the common library, and to import them from outside.
Definition: utypes.h:315