ICU-21980 add missing comments, finish change log
authorMarkus Scherer <markus.icu@gmail.com>
Tue, 24 May 2022 22:41:58 +0000 (15:41 -0700)
committerMarkus Scherer <markus.icu@gmail.com>
Wed, 25 May 2022 18:23:11 +0000 (18:23 +0000)
icu4c/source/common/unicode/uchar.h
icu4c/source/data/unidata/changes.txt
icu4j/main/classes/core/src/com/ibm/icu/lang/UCharacter.java

index 3c2fc9ac2ad2e7155251b00842685edb36963e2f..4df11a0558b798c135f927a94c31c21c4df04a77 100644 (file)
@@ -1885,6 +1885,8 @@ enum UBlockCode {
     /** @stable ICU 70 */
     UBLOCK_ZNAMENNY_MUSICAL_NOTATION = 320, /*[1CF00]*/
 
+    // New blocks in Unicode 15.0
+
     /** @stable ICU 72 */
     UBLOCK_ARABIC_EXTENDED_C = 321, /*[10EC0]*/
     /** @stable ICU 72 */
index 610ae9f3561acd0072c6472b8a3f61f02930069c..5f2c43d7eade0360b5c1c6b78cba86c98e22b437 100644 (file)
@@ -326,8 +326,6 @@ or
     cp -v BidiCharacterTest.txt BidiTest.txt IdnaTestV2.txt $ICU_SRC/icu4j/main/tests/core/src/com/ibm/icu/dev/data/unicode
     cp -v $UNICODE_DATA/ucd/CompositionExclusions.txt $ICU_SRC/icu4j/main/tests/core/src/com/ibm/icu/dev/data/unicode
 
-TODO
-
 * run & fix ICU4J tests
 
 *** API additions
@@ -336,14 +334,21 @@ TODO
 *** CLDR numbering systems
 - look for new sets of decimal digits (gc=ND & nv=4) and add to CLDR
   for example:
-    ~/icu/mine/src$ egrep ';gc=Nd.+;nv=4' icu4c/source/data/unidata/ppucd.txt > /tmp/icu/nv4-13.txt
-    ~/icu/uni/src$ egrep ';gc=Nd.+;nv=4' icu4c/source/data/unidata/ppucd.txt > /tmp/icu/nv4-14.txt
-    ~/icu/uni/src$ diff -u /tmp/icu/nv4-13.txt /tmp/icu/nv4-14.txt
+    ~/icu/mine/src$ egrep ';gc=Nd.+;nv=4' icu4c/source/data/unidata/ppucd.txt > /tmp/icu/nv4-14.txt
+    ~/icu/uni/src$ egrep ';gc=Nd.+;nv=4' icu4c/source/data/unidata/ppucd.txt > /tmp/icu/nv4-15.txt
+    ~/icu/uni/src$ diff -u /tmp/icu/nv4-14.txt /tmp/icu/nv4-15.txt
     -->
-    +cp;16AC4;-Alpha;gc=Nd;-IDS;lb=NU;na=TANGSA DIGIT FOUR;nt=De;nv=4;SB=NU;WB=NU;-XIDS
-  Unicode 14:
-    tnsa 16AC0..16AC9 Tangsa
-    https://github.com/unicode-org/cldr/pull/1326
+    +cp;11F54;-Alpha;gc=Nd;InSC=Number;lb=NU;na=KAWI DIGIT FOUR;nt=De;nv=4;SB=NU;WB=NU;-XIDS
+    +cp;1E4F4;-Alpha;gc=Nd;-IDS;lb=NU;na=NAG MUNDARI DIGIT FOUR;nt=De;nv=4;SB=NU;WB=NU;-XIDS
+  or:
+    ~/unitools/mine/src$ diff -u unicodetools/data/ucd/14.0.0-Update/extracted/DerivedGeneralCategory.txt unicodetools/data/ucd/dev/extracted/DerivedGeneralCategory.txt | grep '; Nd' | egrep '^\+'
+    -->
+    +11F50..11F59  ; Nd #  [10] KAWI DIGIT ZERO..KAWI DIGIT NINE
+    +1E4F0..1E4F9  ; Nd #  [10] NAG MUNDARI DIGIT ZERO..NAG MUNDARI DIGIT NINE
+  Unicode 15:
+    kawi 11F50..11F59 Kawi
+    nagm 1E4F0..1E4F9 Nag Mundari
+    https://github.com/unicode-org/cldr/pull/2041
 
 *** merge the Unicode update branches back onto the trunk
 - do not merge the icudata.jar and testdata.jar,
index 00db92911159296f5f23a3e52d795893ef5d34df..58c60349d09d4cb1e721668e7badf3eef1f13388 100644 (file)
@@ -1292,6 +1292,8 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
         /** @stable ICU 70 */
         public static final int ZNAMENNY_MUSICAL_NOTATION_ID = 320; /*[1CF00]*/
 
+        // New blocks in Unicode 15.0
+
         /** @stable ICU 72 */
         public static final int ARABIC_EXTENDED_C_ID = 321; /*[10EC0]*/
         /** @stable ICU 72 */
@@ -2721,6 +2723,8 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
                 new UnicodeBlock("ZNAMENNY_MUSICAL_NOTATION",
                         ZNAMENNY_MUSICAL_NOTATION_ID); /*[1CF00]*/
 
+        // New blocks in Unicode 15.0
+
         /** @stable ICU 72 */
         public static final UnicodeBlock ARABIC_EXTENDED_C =
                 new UnicodeBlock("ARABIC_EXTENDED_C", ARABIC_EXTENDED_C_ID); /*[10EC0]*/