]> granicus.if.org Git - icu/commitdiff
ICU-8555 add nine new ISO 15924 script codes from 2010-12-21
authorMarkus Scherer <markus.icu@gmail.com>
Tue, 10 May 2011 20:57:26 +0000 (20:57 +0000)
committerMarkus Scherer <markus.icu@gmail.com>
Tue, 10 May 2011 20:57:26 +0000 (20:57 +0000)
X-SVN-Rev: 30086

icu4j/main/classes/core/src/com/ibm/icu/lang/UScript.java
icu4j/main/shared/data/icudata.jar
icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/TestUScript.java

index 2718d92518c2c5587e0d69bb3a4094ee548112c0..cabba0be0aaae03e78ebf1cc73fafa87e199f27f 100644 (file)
@@ -1,6 +1,6 @@
 /**
 *******************************************************************************
-* Copyright (C) 2001-2010 International Business Machines Corporation and     *
+* Copyright (C) 2001-2011 International Business Machines Corporation and     *
 * others. All Rights Reserved.                                                *
 *******************************************************************************
 */
@@ -817,13 +817,59 @@ public final class UScript {
      */
     public static final int WARANG_CITI                   = 146;/* Wara */
 
+    /**
+     * ISO 15924 script code
+     * @stable ICU 4.8
+     */
+    public static final int AFAKA = 147;/* Afak */
+    /**
+     * ISO 15924 script code
+     * @stable ICU 4.8
+     */
+    public static final int JURCHEN = 148;/* Jurc */
+    /**
+     * ISO 15924 script code
+     * @stable ICU 4.8
+     */
+    public static final int MRO = 149;/* Mroo */
+    /**
+     * ISO 15924 script code
+     * @stable ICU 4.8
+     */
+    public static final int NUSHU = 150;/* Nshu */
+    /**
+     * ISO 15924 script code
+     * @stable ICU 4.8
+     */
+    public static final int SHARADA = 151;/* Shrd */
+    /**
+     * ISO 15924 script code
+     * @stable ICU 4.8
+     */
+    public static final int SORA_SOMPENG = 152;/* Sora */
+    /**
+     * ISO 15924 script code
+     * @stable ICU 4.8
+     */
+    public static final int TAKRI = 153;/* Takr */
+    /**
+     * ISO 15924 script code
+     * @stable ICU 4.8
+     */
+    public static final int TANGUT = 154;/* Tang */
+    /**
+     * ISO 15924 script code
+     * @stable ICU 4.8
+     */
+    public static final int WOLEAI = 155;/* Wole */
+
     /**
      * One higher than the last ISO 15924 script code integer.
      * This value will increase as ISO 15924 adds script codes
      * for which integer constants are added above.
      * @stable ICU 2.4
      */
-    public static final int CODE_LIMIT   = 147;
+    public static final int CODE_LIMIT   = 156;
 
     private static final String kLocaleScript = "LocaleScript";
     
index 3f5102e7733af54e1ad21eca8b48b6049ba007ef..cac9531ff5b56480fd7526ded3437e9d8886fda3 100755 (executable)
@@ -1,3 +1,3 @@
 version https://git-lfs.github.com/spec/v1
-oid sha256:7eb38bc6623d0668cd80f8575fe5636c7001b5b5f9a80d0891ea69838d672b20
-size 7942470
+oid sha256:24b39cd62e5514c230bba0aa952b13d60c143c8f6ba244e78cb401fb782f21cd
+size 7942586
index dc3e9d5884ad6c52ce7222d5c92de71c871a9523..a6056a13f00d96476dae1a8f6fb8618a08556eff 100644 (file)
@@ -1,6 +1,6 @@
 /**
 *******************************************************************************
-* Copyright (C) 1996-2010, International Business Machines Corporation and    *
+* Copyright (C) 1996-2011, International Business Machines Corporation and    *
 * others. All Rights Reserved.                                                *
 *******************************************************************************
 */
@@ -453,6 +453,8 @@ public class TestUScript extends TestFmwk {
             /* new in ICU 4.6 */
             "Bass", "Dupl", "Elba", "Gran", "Kpel", "Loma", "Mend", "Merc",
             "Narb", "Nbat", "Palm", "Sind", "Wara",
+            /* new in ICU 4.8 */
+            "Afak", "Jurc", "Mroo", "Nshu", "Shrd", "Sora", "Takr", "Tang", "Wole",
         };
         String[] expectedShort = new String[]{
             "Bali", "Batk", "Blis", "Brah", "Cham", "Cirt", "Cyrs", "Egyd", "Egyh", "Egyp", 
@@ -471,6 +473,8 @@ public class TestUScript extends TestFmwk {
             /* new in ICU 4.6 */
             "Bass", "Dupl", "Elba", "Gran", "Kpel", "Loma", "Mend", "Merc",
             "Narb", "Nbat", "Palm", "Sind", "Wara",
+            /* new in ICU 4.8 */
+            "Afak", "Jurc", "Mroo", "Nshu", "Shrd", "Sora", "Takr", "Tang", "Wole",
         };
         if(expectedLong.length!=(UScript.CODE_LIMIT-UScript.BALINESE)) {
             errln("need to add new script codes in lang.TestUScript.java!");