Skip to content

Commit ae4a345

Browse files
committed
ICU-23181 add Hntl as a new alias/compound script code
1 parent dd6c002 commit ae4a345

File tree

13 files changed

+265
-259
lines changed

13 files changed

+265
-259
lines changed

icu4c/source/common/propname_data.h

Lines changed: 249 additions & 249 deletions
Large diffs are not rendered by default.

icu4c/source/common/uchar_props_data.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4982,6 +4982,6 @@ static const UCPTrie block_trie={
49824982
0x0,
49834983
};
49844984

4985-
static const int32_t indexes[UPROPS_INDEX_COUNT]={0x2f2a,0x2f2a,0x2f2a,0x2f2a,0x836c,3,0x9e09,0x9f22,0xa6d4,0xa6d4,0x50d3,0x3075a31,0x15a,0,0,0};
4985+
static const int32_t indexes[UPROPS_INDEX_COUNT]={0x2f2a,0x2f2a,0x2f2a,0x2f2a,0x836c,3,0x9e09,0x9f22,0xa6d4,0xa6d4,0x50d4,0x3075a31,0x15a,0,0,0};
49864986

49874987
#endif // INCLUDED_FROM_UCHAR_C

icu4c/source/common/unicode/uscript.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,8 @@ typedef enum UScriptCode {
526526
USCRIPT_TAI_YO = 210, /* Tayo */
527527
/** @stable ICU 78 */
528528
USCRIPT_TOLONG_SIKI = 211, /* Tols */
529+
/** @stable ICU 78 */
530+
USCRIPT_TRADITIONAL_HAN_WITH_LATIN = 212, /* Hntl */
529531

530532
#ifndef U_HIDE_DEPRECATED_API
531533
/**
@@ -534,7 +536,7 @@ typedef enum UScriptCode {
534536
*
535537
* @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
536538
*/
537-
USCRIPT_CODE_LIMIT = 212
539+
USCRIPT_CODE_LIMIT = 213
538540
#endif // U_HIDE_DEPRECATED_API
539541
} UScriptCode;
540542

icu4c/source/data/in/pnames.icu

23 Bytes
Binary file not shown.

icu4c/source/data/in/uprops.icu

0 Bytes
Binary file not shown.

icu4c/source/data/unidata/ppucd.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1117,6 +1117,7 @@ value;sc;Hira;Hiragana
11171117
value;sc;Hluw;Anatolian_Hieroglyphs
11181118
value;sc;Hmng;Pahawh_Hmong
11191119
value;sc;Hmnp;Nyiakeng_Puachue_Hmong
1120+
value;sc;Hntl;Hntl
11201121
value;sc;Hrkt;Katakana_Or_Hiragana
11211122
value;sc;Hung;Old_Hungarian
11221123
value;sc;Inds;Inds

icu4c/source/test/cintltst/cucdapi.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ void TestUScriptCodeAPI(void){
436436
// new in ICU 76
437437
"Garay", "Gurung_Khema", "Kirat_Rai", "Ol_Onal", "Sunuwar", "Todhri", "Tulu_Tigalari",
438438
// new in ICU 78
439-
"Beria_Erfe", "Sidetic", "Tai_Yo", "Tolong_Siki",
439+
"Beria_Erfe", "Sidetic", "Tai_Yo", "Tolong_Siki", "Hntl",
440440
};
441441
static const char* expectedShort[] = {
442442
"Bali", "Batk", "Blis", "Brah", "Cham", "Cirt", "Cyrs", "Egyd", "Egyh", "Egyp",
@@ -482,7 +482,7 @@ void TestUScriptCodeAPI(void){
482482
// new in ICU 76
483483
"Gara", "Gukh", "Krai", "Onao", "Sunu", "Todr", "Tutg",
484484
// new in ICU 78
485-
"Berf", "Sidt", "Tayo", "Tols",
485+
"Berf", "Sidt", "Tayo", "Tols", "Hntl",
486486
};
487487
int32_t j = 0;
488488
if(UPRV_LENGTHOF(expectedLong)!=(USCRIPT_CODE_LIMIT-USCRIPT_BALINESE)) {

icu4j/main/core/src/main/java/com/ibm/icu/lang/UScript.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1091,6 +1091,8 @@ public final class UScript {
10911091
public static final int TAI_YO = 210; /* Tayo */
10921092
/** @stable ICU 78 */
10931093
public static final int TOLONG_SIKI = 211; /* Tols */
1094+
/** @stable ICU 78 */
1095+
public static final int TRADITIONAL_HAN_WITH_LATIN = 212; /* Hntl */
10941096

10951097
/**
10961098
* One more than the highest normal UScript code.
@@ -1099,7 +1101,7 @@ public final class UScript {
10991101
* @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
11001102
*/
11011103
@Deprecated
1102-
public static final int CODE_LIMIT = 212;
1104+
public static final int CODE_LIMIT = 213;
11031105

11041106
private static int[] getCodesFromLocale(ULocale locale) {
11051107
// Multi-script languages, equivalent to the LocaleScript data
16 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)