/usr/include/unicode
NameSizeModeActions
basictz.h89130644editdlrm
bms.h86640644editdlrm
bmsearch.h73160644editdlrm
brkiter.h230010644editdlrm
bytestream.h85310644editdlrm
calendar.h906590644editdlrm
caniter.h72880644editdlrm
chariter.h241860644editdlrm
choicfmt.h295280644editdlrm
coleitr.h129900644editdlrm
coll.h484680644editdlrm
colldata.h119570644editdlrm
curramt.h36590644editdlrm
currpinf.h70610644editdlrm
currunit.h30570644editdlrm
datefmt.h279460644editdlrm
dbbi.h9660644editdlrm
dcfmtsym.h140400644editdlrm
decimfmt.h886120644editdlrm
docmain.h60030644editdlrm
dtfmtsym.h261450644editdlrm
dtintrv.h37340644editdlrm
dtitvfmt.h397000644editdlrm
dtitvinf.h187040644editdlrm
dtptngen.h173030644editdlrm
dtrule.h87180644editdlrm
errorcode.h43610644editdlrm
fieldpos.h87130644editdlrm
fmtable.h187940644editdlrm
format.h120830644editdlrm
gregocal.h337970644editdlrm
locid.h302410644editdlrm
measfmt.h18970644editdlrm
measunit.h16350644editdlrm
measure.h33210644editdlrm
msgfmt.h394350644editdlrm
normlzr.h303370644editdlrm
numfmt.h339870644editdlrm
numsys.h50040644editdlrm
parseerr.h30440644editdlrm
parsepos.h54680644editdlrm
platform.h99610644editdlrm
plurfmt.h230790644editdlrm
plurrule.h99010644editdlrm
ppalmos.h69920644editdlrm
putil.h66860644editdlrm
pwin32.h86680644editdlrm
rbbi.h269930644editdlrm
rbnf.h456810644editdlrm
rbtz.h156950644editdlrm
regex.h523160644editdlrm
rep.h95590644editdlrm
resbund.h181300644editdlrm
schriter.h62930644editdlrm
search.h223570644editdlrm
simpletz.h461790644editdlrm
smpdtfmt.h483250644editdlrm
sortkey.h111110644editdlrm
std_string.h17690644editdlrm
strenum.h98880644editdlrm
stringpiece.h54840644editdlrm
stsearch.h222870644editdlrm
symtable.h41990644editdlrm
tblcoll.h381990644editdlrm
timezone.h345840644editdlrm
tmunit.h34540644editdlrm
tmutamt.h47870644editdlrm
tmutfmt.h86690644editdlrm
translit.h547800644editdlrm
tzrule.h360570644editdlrm
tztrans.h61010644editdlrm
ubidi.h830920644editdlrm
ubrk.h176880644editdlrm
ucal.h401770644editdlrm
ucasemap.h164200644editdlrm
ucat.h53710644editdlrm
uchar.h1110620644editdlrm
uchriter.h131320644editdlrm
uclean.h118550644editdlrm
ucnv.h831110644editdlrm
ucnvsel.h56300644editdlrm
ucnv_cb.h66350644editdlrm
ucnv_err.h213750644editdlrm
ucol.h488260644editdlrm
ucoleitr.h123560644editdlrm
uconfig.h60350644editdlrm
ucsdet.h124640644editdlrm
ucurr.h115720644editdlrm
udat.h344960644editdlrm
udata.h142650644editdlrm
udatpg.h187150644editdlrm
udeprctd.h22840644editdlrm
udraft.h76000644editdlrm
uenum.h57960644editdlrm
uidna.h159180644editdlrm
uintrnal.h157520644editdlrm
uiter.h232340644editdlrm
uloc.h445480644editdlrm
ulocdata.h97390644editdlrm
umachine.h113600644editdlrm
umisc.h12550644editdlrm
umsg.h260760644editdlrm
unifilt.h37700644editdlrm
unifunct.h39660644editdlrm
unimatch.h60710644editdlrm
unirepl.h32900644editdlrm
uniset.h617710644editdlrm
unistr.h1613210644editdlrm
unorm.h236210644editdlrm
unum.h321450644editdlrm
uobject.h113930644editdlrm
uobslete.h8520644editdlrm
uregex.h439480644editdlrm
urename.h925380644editdlrm
urep.h53940644editdlrm
ures.h363480644editdlrm
uscript.h113600644editdlrm
usearch.h342230644editdlrm
uset.h398680644editdlrm
usetiter.h96060644editdlrm
ushape.h179070644editdlrm
uspoof.h387520644editdlrm
usprep.h77500644editdlrm
ustdio.h353330644editdlrm
ustream.h18910644editdlrm
ustring.h693830644editdlrm
usystem.h19250644editdlrm
utext.h583940644editdlrm
utf.h82730644editdlrm
utf8.h205120644editdlrm
utf16.h187760644editdlrm
utf32.h6530644editdlrm
utf_old.h436460644editdlrm
utmscale.h136890644editdlrm
utrace.h133550644editdlrm
utrans.h231290644editdlrm
utypes.h345130644editdlrm
uversion.h109020644editdlrm
vtzone.h200480644editdlrm
Edit: /usr/include/unicode/uscript.h (11360B)
/* ********************************************************************** * Copyright (C) 1997-2009, 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" /** * \file * \brief C API: Unicode Script Information */ /** * Constants for ISO 15924 script codes. * * Many of these script codes - those from Unicode's ScriptNames.txt - * are character property values for Unicode's Script property. * See UAX #24 Script Names (http://www.unicode.org/reports/tr24/). * * Starting with ICU 3.6, constants for most ISO 15924 script codes * are included (currently excluding private-use codes Qaaa..Qabx). * For scripts for which there are codes in ISO 15924 but which are not * used in the Unicode Character Database (UCD), there are no Unicode characters * associated with those scripts. * * For example, there are no characters that have a UCD script code of * Hans or Hant. All Han ideographs have the Hani script code. * The Hans and Hant script codes are used with CLDR data. * * ISO 15924 script codes are included for use with CLDR and similar. * * @stable ICU 2.2 */ typedef enum UScriptCode { USCRIPT_INVALID_CODE = -1, USCRIPT_COMMON = 0 , /* Zyyy */ USCRIPT_INHERITED = 1, /* 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 */ /** Canadian_Aboriginal script. @stable ICU 2.6 */ USCRIPT_CANADIAN_ABORIGINAL = 40, /* Cans */ /** Canadian_Aboriginal script (alias). @stable ICU 2.2 */ USCRIPT_UCAS = USCRIPT_CANADIAN_ABORIGINAL, USCRIPT_YI = 41, /* Yiii */ USCRIPT_TAGALOG = 42, /* Tglg */ USCRIPT_HANUNOO = 43, /* Hano */ USCRIPT_BUHID = 44, /* Buhd */ USCRIPT_TAGBANWA = 45, /* Tagb */ /* New scripts in Unicode 4 @stable ICU 2.6 */ 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 */ /** New script code in Unicode 4.0.1 @stable ICU 3.0 */ USCRIPT_KATAKANA_OR_HIRAGANA = 54,/*Hrkt */ /* New scripts in Unicode 4.1 @stable ICU 3.4 */ 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 ISO 15924 @stable ICU 3.6 */ 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_MANDAEAN = 84, /* Mand */ USCRIPT_MAYAN_HIEROGLYPHS = 85, /* Maya */ USCRIPT_MEROITIC = 86, /* Mero */ USCRIPT_NKO = 87, /* Nkoo */ USCRIPT_ORKHON = 88, /* Orkh */ USCRIPT_OLD_PERMIC = 89, /* Perm */ USCRIPT_PHAGS_PA = 90, /* Phag */ USCRIPT_PHOENICIAN = 91, /* Phnx */ USCRIPT_PHONETIC_POLLARD = 92, /* Plrd */ 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 */ /* New script codes from ISO 15924 @stable ICU 3.8 */ 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 */ /* New script codes from ISO 15924 @stable ICU 4.0 */ 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 */ /* Private use codes from Qaaa - Qabx are not supported*/ USCRIPT_CODE_LIMIT = 130 } UScriptCode; /** * Gets script codes associated with the given locale or ISO 15924 abbreviation or name. * Fills in USCRIPT_MALAYALAM given "Malayam" OR "Mlym". * Fills in USCRIPT_LATIN given "en" OR "en_US" * If required capacity is greater than capacity of the destination buffer then the error code * is set to U_BUFFER_OVERFLOW_ERROR and the required capacity is returned * *

Note: To search by short or long script alias only, use * u_getPropertyValueEnum(UCHAR_SCRIPT, alias) instead. This does * a fast lookup with no access of the locale data. * @param nameOrAbbrOrLocale name of the script, as given in * PropertyValueAliases.txt, or ISO 15924 code or locale * @param fillIn the UScriptCode buffer to fill in the script code * @param capacity the capacity (size) fo UScriptCode buffer passed in. * @param err the error status code. * @return The number of script codes filled in the buffer passed in * @stable ICU 2.4 */ U_STABLE int32_t U_EXPORT2 uscript_getCode(const char* nameOrAbbrOrLocale,UScriptCode* fillIn,int32_t capacity,UErrorCode *err); /** * Gets a script name associated with the given script code. * Returns "Malayam" given USCRIPT_MALAYALAM * @param scriptCode UScriptCode enum * @return script long name as given in * PropertyValueAliases.txt, or NULL if scriptCode is invalid * @stable ICU 2.4 */ U_STABLE const char* U_EXPORT2 uscript_getName(UScriptCode scriptCode); /** * Gets a script name associated with the given script code. * Returns "Mlym" given USCRIPT_MALAYALAM * @param scriptCode UScriptCode enum * @return script abbreviated name as given in * PropertyValueAliases.txt, or NULL if scriptCode is invalid * @stable ICU 2.4 */ U_STABLE const char* U_EXPORT2 uscript_getShortName(UScriptCode scriptCode); /** * Gets the script code associated with the given codepoint. * Returns USCRIPT_MALAYALAM given 0x0D02 * @param codepoint UChar32 codepoint * @param err the error status code. * @return The UScriptCode, or 0 if codepoint is invalid * @stable ICU 2.4 */ U_STABLE UScriptCode U_EXPORT2 uscript_getScript(UChar32 codepoint, UErrorCode *err); #endif