This is new API for: ICU 78
Ticket: ICU-23181
We are going to add API constants for the new-to-ICU script code "Hntl". It is one of several ISO 15924 script codes that are aliases or variants of other scripts. (Other examples: Latf=Latin in Fraktur; Hanb=Han+Bopomofo)
We are treating this addition like API constants for stable Unicode property values: The new API constants will be "born @stable" (they are not @draft first for a while) so that they are immediately usable without problems.
For "normal" script codes for encoded scripts, we wait until Unicode encodes the scripts, so that the names of the scripts are settled and we can create a stable, mnemonic API constant.
Alias/variant script codes do not correspond to their own scripts, so we can add them as needed.
New constants:
C/C++
unicode/uscript.h
typedef enum UScriptCode {
/** @stable ICU 78 */
USCRIPT_TRADITIONAL_HAN_WITH_LATIN = 212, /* Hntl */
Java
public final class UScript {
/** @stable ICU 78 */
public static final int TRADITIONAL_HAN_WITH_LATIN = 212; /* Hntl */