uscript.h
Go to the documentation of this file.
// © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
**********************************************************************
* Copyright (C) 1997-2016, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
*
* File USCRIPT.H
*
* Modification History:
*
* Date Name Description
* 07/06/2001 Ram Creation.
******************************************************************************
*/
#ifndef USCRIPT_H
#define USCRIPT_H
#include "unicode/utypes.h"
typedef enum UScriptCode {
/*
* Note: UScriptCode constants and their ISO script code comments
* are parsed by preparseucd.py.
* It matches lines like
* USCRIPT_<Unicode Script value name> = <integer>, / * <ISO script code> * /
*/
USCRIPT_INVALID_CODE = -1,
USCRIPT_COMMON = 0, /* Zyyy */
USCRIPT_INHERITED = 1, /* Zinh */ /* "Code for inherited script", for non-spacing combining marks; also Qaai */
USCRIPT_ARABIC = 2, /* Arab */
USCRIPT_ARMENIAN = 3, /* Armn */
USCRIPT_BENGALI = 4, /* Beng */
USCRIPT_BOPOMOFO = 5, /* Bopo */
USCRIPT_CHEROKEE = 6, /* Cher */
USCRIPT_COPTIC = 7, /* Copt */
USCRIPT_CYRILLIC = 8, /* Cyrl */
USCRIPT_DESERET = 9, /* Dsrt */
USCRIPT_DEVANAGARI = 10, /* Deva */
USCRIPT_ETHIOPIC = 11, /* Ethi */
USCRIPT_GEORGIAN = 12, /* Geor */
USCRIPT_GOTHIC = 13, /* Goth */
USCRIPT_GREEK = 14, /* Grek */
USCRIPT_GUJARATI = 15, /* Gujr */
USCRIPT_GURMUKHI = 16, /* Guru */
USCRIPT_HAN = 17, /* Hani */
USCRIPT_HANGUL = 18, /* Hang */
USCRIPT_HEBREW = 19, /* Hebr */
USCRIPT_HIRAGANA = 20, /* Hira */
USCRIPT_KANNADA = 21, /* Knda */
USCRIPT_KATAKANA = 22, /* Kana */
USCRIPT_KHMER = 23, /* Khmr */
USCRIPT_LAO = 24, /* Laoo */
USCRIPT_LATIN = 25, /* Latn */
USCRIPT_MALAYALAM = 26, /* Mlym */
USCRIPT_MONGOLIAN = 27, /* Mong */
USCRIPT_MYANMAR = 28, /* Mymr */
USCRIPT_OGHAM = 29, /* Ogam */
USCRIPT_OLD_ITALIC = 30, /* Ital */
USCRIPT_ORIYA = 31, /* Orya */
USCRIPT_RUNIC = 32, /* Runr */
USCRIPT_SINHALA = 33, /* Sinh */
USCRIPT_SYRIAC = 34, /* Syrc */
USCRIPT_TAMIL = 35, /* Taml */
USCRIPT_TELUGU = 36, /* Telu */
USCRIPT_THAANA = 37, /* Thaa */
USCRIPT_THAI = 38, /* Thai */
USCRIPT_TIBETAN = 39, /* Tibt */
USCRIPT_CANADIAN_ABORIGINAL = 40, /* Cans */
USCRIPT_UCAS = USCRIPT_CANADIAN_ABORIGINAL,
USCRIPT_YI = 41, /* Yiii */
/* New scripts in Unicode 3.2 */
USCRIPT_TAGALOG = 42, /* Tglg */
USCRIPT_HANUNOO = 43, /* Hano */
USCRIPT_BUHID = 44, /* Buhd */
USCRIPT_TAGBANWA = 45, /* Tagb */
/* New scripts in Unicode 4 */
USCRIPT_BRAILLE = 46, /* Brai */
USCRIPT_CYPRIOT = 47, /* Cprt */
USCRIPT_LIMBU = 48, /* Limb */
USCRIPT_LINEAR_B = 49, /* Linb */
USCRIPT_OSMANYA = 50, /* Osma */
USCRIPT_SHAVIAN = 51, /* Shaw */
USCRIPT_TAI_LE = 52, /* Tale */
USCRIPT_UGARITIC = 53, /* Ugar */
USCRIPT_KATAKANA_OR_HIRAGANA = 54,/*Hrkt */
/* New scripts in Unicode 4.1 */
USCRIPT_BUGINESE = 55, /* Bugi */
USCRIPT_GLAGOLITIC = 56, /* Glag */
USCRIPT_KHAROSHTHI = 57, /* Khar */
USCRIPT_SYLOTI_NAGRI = 58, /* Sylo */
USCRIPT_NEW_TAI_LUE = 59, /* Talu */
USCRIPT_TIFINAGH = 60, /* Tfng */
USCRIPT_OLD_PERSIAN = 61, /* Xpeo */
/* New script codes from Unicode and ISO 15924 */
USCRIPT_BALINESE = 62, /* Bali */
USCRIPT_BATAK = 63, /* Batk */
USCRIPT_BLISSYMBOLS = 64, /* Blis */
USCRIPT_BRAHMI = 65, /* Brah */
USCRIPT_CHAM = 66, /* Cham */
USCRIPT_CIRTH = 67, /* Cirt */
USCRIPT_OLD_CHURCH_SLAVONIC_CYRILLIC = 68, /* Cyrs */
USCRIPT_DEMOTIC_EGYPTIAN = 69, /* Egyd */
USCRIPT_HIERATIC_EGYPTIAN = 70, /* Egyh */
USCRIPT_EGYPTIAN_HIEROGLYPHS = 71, /* Egyp */
USCRIPT_KHUTSURI = 72, /* Geok */
USCRIPT_SIMPLIFIED_HAN = 73, /* Hans */
USCRIPT_TRADITIONAL_HAN = 74, /* Hant */
USCRIPT_PAHAWH_HMONG = 75, /* Hmng */
USCRIPT_OLD_HUNGARIAN = 76, /* Hung */
USCRIPT_HARAPPAN_INDUS = 77, /* Inds */
USCRIPT_JAVANESE = 78, /* Java */
USCRIPT_KAYAH_LI = 79, /* Kali */
USCRIPT_LATIN_FRAKTUR = 80, /* Latf */
USCRIPT_LATIN_GAELIC = 81, /* Latg */
USCRIPT_LEPCHA = 82, /* Lepc */
USCRIPT_LINEAR_A = 83, /* Lina */
USCRIPT_MANDAIC = 84, /* Mand */
USCRIPT_MANDAEAN = USCRIPT_MANDAIC,
USCRIPT_MAYAN_HIEROGLYPHS = 85, /* Maya */
USCRIPT_MEROITIC_HIEROGLYPHS = 86, /* Mero */
USCRIPT_MEROITIC = USCRIPT_MEROITIC_HIEROGLYPHS,
USCRIPT_NKO = 87, /* Nkoo */
USCRIPT_ORKHON = 88, /* Orkh */
USCRIPT_OLD_PERMIC = 89, /* Perm */
USCRIPT_PHAGS_PA = 90, /* Phag */
USCRIPT_PHOENICIAN = 91, /* Phnx */
USCRIPT_MIAO = 92, /* Plrd */
USCRIPT_PHONETIC_POLLARD = USCRIPT_MIAO,
USCRIPT_RONGORONGO = 93, /* Roro */
USCRIPT_SARATI = 94, /* Sara */
USCRIPT_ESTRANGELO_SYRIAC = 95, /* Syre */
USCRIPT_WESTERN_SYRIAC = 96, /* Syrj */
USCRIPT_EASTERN_SYRIAC = 97, /* Syrn */
USCRIPT_TENGWAR = 98, /* Teng */
USCRIPT_VAI = 99, /* Vaii */
USCRIPT_VISIBLE_SPEECH = 100,/* Visp */
USCRIPT_CUNEIFORM = 101,/* Xsux */
USCRIPT_UNWRITTEN_LANGUAGES = 102,/* Zxxx */
USCRIPT_UNKNOWN = 103,/* Zzzz */ /* Unknown="Code for uncoded script", for unassigned code points */
USCRIPT_CARIAN = 104,/* Cari */
USCRIPT_JAPANESE = 105,/* Jpan */
USCRIPT_LANNA = 106,/* Lana */
USCRIPT_LYCIAN = 107,/* Lyci */
USCRIPT_LYDIAN = 108,/* Lydi */
USCRIPT_OL_CHIKI = 109,/* Olck */
USCRIPT_REJANG = 110,/* Rjng */
USCRIPT_SAURASHTRA = 111,/* Saur */
USCRIPT_SIGN_WRITING = 112,/* Sgnw */
USCRIPT_SUNDANESE = 113,/* Sund */
USCRIPT_MOON = 114,/* Moon */
USCRIPT_MEITEI_MAYEK = 115,/* Mtei */
USCRIPT_IMPERIAL_ARAMAIC = 116,/* Armi */
USCRIPT_AVESTAN = 117,/* Avst */
USCRIPT_CHAKMA = 118,/* Cakm */
USCRIPT_KOREAN = 119,/* Kore */
USCRIPT_KAITHI = 120,/* Kthi */
USCRIPT_MANICHAEAN = 121,/* Mani */
USCRIPT_INSCRIPTIONAL_PAHLAVI = 122,/* Phli */
USCRIPT_PSALTER_PAHLAVI = 123,/* Phlp */
USCRIPT_BOOK_PAHLAVI = 124,/* Phlv */
USCRIPT_INSCRIPTIONAL_PARTHIAN = 125,/* Prti */
USCRIPT_SAMARITAN = 126,/* Samr */
USCRIPT_TAI_VIET = 127,/* Tavt */
USCRIPT_MATHEMATICAL_NOTATION = 128,/* Zmth */
USCRIPT_SYMBOLS = 129,/* Zsym */
USCRIPT_BAMUM = 130,/* Bamu */
USCRIPT_LISU = 131,/* Lisu */
USCRIPT_NAKHI_GEBA = 132,/* Nkgb */
USCRIPT_OLD_SOUTH_ARABIAN = 133,/* Sarb */
USCRIPT_BASSA_VAH = 134,/* Bass */
USCRIPT_DUPLOYAN = 135,/* Dupl */
#ifndef U_HIDE_DEPRECATED_API
USCRIPT_DUPLOYAN_SHORTAND = USCRIPT_DUPLOYAN,
#endif /* U_HIDE_DEPRECATED_API */
USCRIPT_ELBASAN = 136,/* Elba */
USCRIPT_GRANTHA = 137,/* Gran */
USCRIPT_KPELLE = 138,/* Kpel */
USCRIPT_LOMA = 139,/* Loma */
USCRIPT_MENDE = 140,/* Mend */
USCRIPT_MEROITIC_CURSIVE = 141,/* Merc */
USCRIPT_OLD_NORTH_ARABIAN = 142,/* Narb */
USCRIPT_NABATAEAN = 143,/* Nbat */
USCRIPT_PALMYRENE = 144,/* Palm */
USCRIPT_KHUDAWADI = 145,/* Sind */
USCRIPT_SINDHI = USCRIPT_KHUDAWADI,
USCRIPT_WARANG_CITI = 146,/* Wara */
USCRIPT_AFAKA = 147,/* Afak */
USCRIPT_JURCHEN = 148,/* Jurc */
USCRIPT_MRO = 149,/* Mroo */
USCRIPT_NUSHU = 150,/* Nshu */
USCRIPT_SHARADA = 151,/* Shrd */
USCRIPT_SORA_SOMPENG = 152,/* Sora */
USCRIPT_TAKRI = 153,/* Takr */
USCRIPT_TANGUT = 154,/* Tang */
USCRIPT_WOLEAI = 155,/* Wole */
USCRIPT_ANATOLIAN_HIEROGLYPHS = 156,/* Hluw */
USCRIPT_KHOJKI = 157,/* Khoj */
USCRIPT_TIRHUTA = 158,/* Tirh */
USCRIPT_CAUCASIAN_ALBANIAN = 159,/* Aghb */
USCRIPT_MAHAJANI = 160,/* Mahj */
USCRIPT_AHOM = 161,/* Ahom */
USCRIPT_HATRAN = 162,/* Hatr */
USCRIPT_MODI = 163,/* Modi */
USCRIPT_MULTANI = 164,/* Mult */
USCRIPT_PAU_CIN_HAU = 165,/* Pauc */
USCRIPT_SIDDHAM = 166,/* Sidd */
USCRIPT_ADLAM = 167,/* Adlm */
USCRIPT_BHAIKSUKI = 168,/* Bhks */
USCRIPT_MARCHEN = 169,/* Marc */
USCRIPT_NEWA = 170,/* Newa */
USCRIPT_OSAGE = 171,/* Osge */
USCRIPT_HAN_WITH_BOPOMOFO = 172,/* Hanb */
USCRIPT_JAMO = 173,/* Jamo */
USCRIPT_SYMBOLS_EMOJI = 174,/* Zsye */
USCRIPT_MASARAM_GONDI = 175,/* Gonm */
USCRIPT_SOYOMBO = 176,/* Soyo */
USCRIPT_ZANABAZAR_SQUARE = 177,/* Zanb */
USCRIPT_DOGRA = 178,/* Dogr */
USCRIPT_GUNJALA_GONDI = 179,/* Gong */
USCRIPT_MAKASAR = 180,/* Maka */
USCRIPT_MEDEFAIDRIN = 181,/* Medf */
USCRIPT_HANIFI_ROHINGYA = 182,/* Rohg */
USCRIPT_SOGDIAN = 183,/* Sogd */
USCRIPT_OLD_SOGDIAN = 184,/* Sogo */
USCRIPT_ELYMAIC = 185,/* Elym */
USCRIPT_NYIAKENG_PUACHUE_HMONG = 186,/* Hmnp */
USCRIPT_NANDINAGARI = 187,/* Nand */
USCRIPT_WANCHO = 188,/* Wcho */
USCRIPT_CHORASMIAN = 189,/* Chrs */
USCRIPT_DIVES_AKURU = 190,/* Diak */
USCRIPT_KHITAN_SMALL_SCRIPT = 191,/* Kits */
USCRIPT_YEZIDI = 192,/* Yezi */
USCRIPT_CYPRO_MINOAN = 193,/* Cpmn */
USCRIPT_OLD_UYGHUR = 194,/* Ougr */
USCRIPT_TANGSA = 195,/* Tnsa */
USCRIPT_TOTO = 196,/* Toto */
USCRIPT_VITHKUQI = 197,/* Vith */
USCRIPT_KAWI = 198,/* Kawi */
USCRIPT_NAG_MUNDARI = 199,/* Nagm */
USCRIPT_ARABIC_NASTALIQ = 200, /* Aran */
USCRIPT_GARAY = 201, /* Gara */
USCRIPT_GURUNG_KHEMA = 202, /* Gukh */
USCRIPT_KIRAT_RAI = 203, /* Krai */
USCRIPT_OL_ONAL = 204, /* Onao */
USCRIPT_SUNUWAR = 205, /* Sunu */
USCRIPT_TODHRI = 206, /* Todr */
USCRIPT_TULU_TIGALARI = 207, /* Tutg */
#ifndef U_HIDE_DEPRECATED_API
USCRIPT_CODE_LIMIT = 208
#endif // U_HIDE_DEPRECATED_API
} UScriptCode;
U_CAPI int32_t U_EXPORT2
uscript_getCode(const char* nameOrAbbrOrLocale,UScriptCode* fillIn,int32_t capacity,UErrorCode *err);
U_CAPI const char* U_EXPORT2
uscript_getName(UScriptCode scriptCode);
U_CAPI const char* U_EXPORT2
uscript_getShortName(UScriptCode scriptCode);
U_CAPI UScriptCode U_EXPORT2
uscript_getScript(UChar32 codepoint, UErrorCode *err);
U_CAPI UBool U_EXPORT2
uscript_hasScript(UChar32 c, UScriptCode sc);
U_CAPI int32_t U_EXPORT2
uscript_getScriptExtensions(UChar32 c,
UScriptCode *scripts, int32_t capacity,
UErrorCode *errorCode);
typedef enum UScriptUsage {
USCRIPT_USAGE_NOT_ENCODED,
USCRIPT_USAGE_UNKNOWN,
USCRIPT_USAGE_EXCLUDED,
USCRIPT_USAGE_LIMITED_USE,
USCRIPT_USAGE_ASPIRATIONAL,
USCRIPT_USAGE_RECOMMENDED
} UScriptUsage;
U_CAPI int32_t U_EXPORT2
uscript_getSampleString(UScriptCode script, UChar *dest, int32_t capacity, UErrorCode *pErrorCode);
#if U_SHOW_CPLUSPLUS_API
U_NAMESPACE_BEGIN
class UnicodeString;
U_NAMESPACE_END
U_COMMON_API icu::UnicodeString U_EXPORT2
uscript_getSampleUnicodeString(UScriptCode script);
#endif
U_CAPI UScriptUsage U_EXPORT2
uscript_getUsage(UScriptCode script);
U_CAPI UBool U_EXPORT2
uscript_isRightToLeft(UScriptCode script);
U_CAPI UBool U_EXPORT2
uscript_breaksBetweenLetters(UScriptCode script);
U_CAPI UBool U_EXPORT2
uscript_isCased(UScriptCode script);
#endif
icu::UnicodeString
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
Definition unistr.h:296
UChar32
int32_t UChar32
Define UChar32 as a type for single Unicode code points.
Definition umachine.h:427
UBool
int8_t UBool
The ICU boolean type, a signed-byte integer.
Definition umachine.h:247
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:378
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:528
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_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_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_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_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_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:646
USCRIPT_USAGE_EXCLUDED
@ USCRIPT_USAGE_EXCLUDED
Candidate for Exclusion from Identifiers.
Definition uscript.h:652
USCRIPT_USAGE_RECOMMENDED
@ USCRIPT_USAGE_RECOMMENDED
Recommended script.
Definition uscript.h:658
USCRIPT_USAGE_LIMITED_USE
@ USCRIPT_USAGE_LIMITED_USE
Limited Use script.
Definition uscript.h:654
USCRIPT_USAGE_UNKNOWN
@ USCRIPT_USAGE_UNKNOWN
Unknown script usage.
Definition uscript.h:650
USCRIPT_USAGE_ASPIRATIONAL
@ USCRIPT_USAGE_ASPIRATIONAL
Aspirational Use script.
Definition uscript.h:656
USCRIPT_USAGE_NOT_ENCODED
@ USCRIPT_USAGE_NOT_ENCODED
Not encoded in Unicode.
Definition uscript.h:648
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:430
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