#include "unicode/utypes.h"
Go to the source code of this file.
Typedefs | |
typedef enum UScriptCode | UScriptCode |
Constants for Unicode script values from ScriptNames.txt. | |
Functions | |
U_STABLE int32_t | uscript_getCode (const char *nameOrAbbrOrLocale, UScriptCode *fillIn, int32_t capacity, UErrorCode *err) |
Gets script codes associated with the given locale or ISO 15924 abbreviation or name. | |
U_STABLE const char * | uscript_getName (UScriptCode scriptCode) |
Gets a script name associated with the given script code. | |
U_STABLE const char * | uscript_getShortName (UScriptCode scriptCode) |
Gets a script name associated with the given script code. | |
U_STABLE UScriptCode | uscript_getScript (UChar32 codepoint, UErrorCode *err) |
Gets the script code associated with the given codepoint. |
Definition in file uscript.h.
|
Constants for Unicode script values from ScriptNames.txt.
|
|
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.
|
|
Gets a script name associated with the given script code. Returns "Malayam" given USCRIPT_MALAYALAM
|
|
Gets the script code associated with the given codepoint. Returns USCRIPT_MALAYALAM given 0x0D02
|
|
Gets a script name associated with the given script code. Returns "Mlym" given USCRIPT_MALAYALAM
|