Go to the documentation of this file.
356 #ifndef U_HIDE_DEPRECATED_API
469 #ifndef U_HIDE_DEPRECATED_API
477 #endif // U_HIDE_DEPRECATED_API
624 #if U_SHOW_CPLUSPLUS_API
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_ESTRANGELO_SYRIAC
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...
int32_t uscript_getSampleString(UScriptCode script, UChar *dest, int32_t capacity, UErrorCode *pErrorCode)
Writes the script sample character string.
@ USCRIPT_INSCRIPTIONAL_PAHLAVI
UBool uscript_isCased(UScriptCode script)
Returns TRUE if in modern (or most recent) usage of the script case distinctions are customary.
Basic definitions for ICU, for both C and C++ APIs.
UScriptCode
Constants for ISO 15924 script codes.
const char * uscript_getName(UScriptCode scriptCode)
Returns the long Unicode script name, if there is one.
int8_t UBool
The ICU boolean type.
@ USCRIPT_KATAKANA_OR_HIRAGANA
New script code in Unicode 4.0.1.
@ USCRIPT_UNWRITTEN_LANGUAGES
@ USCRIPT_USAGE_LIMITED_USE
Limited Use script.
@ USCRIPT_CAUCASIAN_ALBANIAN
@ USCRIPT_OLD_NORTH_ARABIAN
@ USCRIPT_PHONETIC_POLLARD
@ USCRIPT_USAGE_ASPIRATIONAL
Aspirational Use script.
@ USCRIPT_UCAS
Canadian_Aboriginal script (alias).
@ USCRIPT_ANATOLIAN_HIEROGLYPHS
@ USCRIPT_DUPLOYAN_SHORTAND
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
@ USCRIPT_INSCRIPTIONAL_PARTHIAN
int32_t UChar32
Define UChar32 as a type for single Unicode code points.
@ USCRIPT_OLD_CHURCH_SLAVONIC_CYRILLIC
@ USCRIPT_IMPERIAL_ARAMAIC
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers,...
@ USCRIPT_HIERATIC_EGYPTIAN
UBool uscript_isRightToLeft(UScriptCode script)
Returns TRUE if the script is written right-to-left.
@ USCRIPT_MATHEMATICAL_NOTATION
@ USCRIPT_CANADIAN_ABORIGINAL
Canadian_Aboriginal script.
@ USCRIPT_CODE_LIMIT
One more than the highest normal UScriptCode value.
UBool uscript_breaksBetweenLetters(UScriptCode script)
Returns TRUE if the script allows line breaks between letters (excluding hyphenation).
UScriptUsage uscript_getUsage(UScriptCode script)
Returns the script usage according to UAX #31 Unicode Identifier and Pattern Syntax.
@ USCRIPT_USAGE_RECOMMENDED
Recommended script.
@ USCRIPT_OLD_SOUTH_ARABIAN
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_HANIFI_ROHINGYA
@ USCRIPT_DEMOTIC_EGYPTIAN
@ USCRIPT_MEROITIC_HIEROGLYPHS
@ USCRIPT_TRADITIONAL_HAN
@ USCRIPT_USAGE_EXCLUDED
Candidate for Exclusion from Identifiers.
@ USCRIPT_MAYAN_HIEROGLYPHS
@ USCRIPT_USAGE_UNKNOWN
Unknown script usage.
@ USCRIPT_ZANABAZAR_SQUARE
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_USAGE_NOT_ENCODED
Not encoded in Unicode.
#define U_STABLE
This is used to declare a function as a stable public ICU C API.
@ USCRIPT_EGYPTIAN_HIEROGLYPHS
@ USCRIPT_MEROITIC_CURSIVE
@ USCRIPT_SIGN_WRITING
Sutton SignWriting.
U_COMMON_API icu::UnicodeString uscript_getSampleUnicodeString(UScriptCode script)
Returns the script sample character string.
#define U_NAMESPACE_BEGIN
UScriptCode uscript_getScript(UChar32 codepoint, UErrorCode *err)
Gets the script code associated with the given codepoint.
@ USCRIPT_HAN_WITH_BOPOMOFO
UScriptUsage
Script usage constants.
@ USCRIPT_MENDE
Mende Kikakui.
@ USCRIPT_PSALTER_PAHLAVI