From: Markus Scherer Date: Fri, 20 May 2022 22:42:13 +0000 (-0700) Subject: ICU-21980 update Unicode version numbers X-Git-Tag: cldr/2022-05-28~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3ba6f2b32c1ed8a67931987be42cae946e9c238a;p=icu ICU-21980 update Unicode version numbers --- diff --git a/icu4c/source/common/unicode/uchar.h b/icu4c/source/common/unicode/uchar.h index 253e6db173f..2d2511e6654 100644 --- a/icu4c/source/common/unicode/uchar.h +++ b/icu4c/source/common/unicode/uchar.h @@ -60,7 +60,7 @@ U_CDECL_BEGIN * @see u_getUnicodeVersion * @stable ICU 2.0 */ -#define U_UNICODE_VERSION "14.0" +#define U_UNICODE_VERSION "15.0" /** * \file diff --git a/icu4c/source/data/makedata.mak b/icu4c/source/data/makedata.mak index fa971b69b31..d3afb19c512 100644 --- a/icu4c/source/data/makedata.mak +++ b/icu4c/source/data/makedata.mak @@ -19,7 +19,7 @@ U_ICUDATA_NAME=icudt72 U_ICUDATA_NAME=icudt72 !ENDIF U_ICUDATA_ENDIAN_SUFFIX=l -UNICODE_VERSION=14.0 +UNICODE_VERSION=15.0 ICU_LIB_TARGET=$(DLL_OUTPUT)\$(U_ICUDATA_NAME).dll # ICUMAKE diff --git a/icu4c/source/data/unidata/changes.txt b/icu4c/source/data/unidata/changes.txt index e4817ed5071..031b75584c3 100644 --- a/icu4c/source/data/unidata/changes.txt +++ b/icu4c/source/data/unidata/changes.txt @@ -25,24 +25,25 @@ and see the change logs below. ---------------------------------------------------------------------------- *** -Unicode 14.0 update for ICU 70 +Unicode 15.0 update for ICU 72 -https://www.unicode.org/versions/Unicode14.0.0/ -https://www.unicode.org/versions/beta-14.0.0.html -https://www.unicode.org/Public/14.0.0/ucd/ +https://www.unicode.org/versions/Unicode15.0.0/ +https://www.unicode.org/versions/beta-15.0.0.html +https://www.unicode.org/Public/15.0.0/ucd/ https://www.unicode.org/reports/uax-proposed-updates.html -https://www.unicode.org/reports/tr44/tr44-27.html +https://www.unicode.org/reports/tr44/tr44-29.html -https://unicode-org.atlassian.net/browse/CLDR-14801 -https://unicode-org.atlassian.net/browse/ICU-21635 +https://unicode-org.atlassian.net/browse/ICU-21980 Unicode 15 +https://unicode-org.atlassian.net/browse/CLDR-15516 Unicode 15 +https://unicode-org.atlassian.net/browse/CLDR-15253 Unicode 15 script metadata (in CLDR 41) * Command-line environment setup -export UNICODE_DATA=~/unidata/uni14/20210903 +export UNICODE_DATA=~/unidata/uni15/beta export CLDR_SRC=~/cldr/uni/src export ICU_ROOT=~/icu/uni export ICU_SRC=$ICU_ROOT/src -export ICUDT=icudt70b +export ICUDT=icudt72b export ICU4C_DATA_IN=$ICU_SRC/icu4c/source/data/in export ICU4C_UNIDATA=$ICU_SRC/icu4c/source/data/unidata export LD_LIBRARY_PATH=$ICU_ROOT/dbg/icu4c/lib diff --git a/icu4j/main/classes/core/src/com/ibm/icu/util/VersionInfo.java b/icu4j/main/classes/core/src/com/ibm/icu/util/VersionInfo.java index 7593c4b5942..3d392a9ab6c 100644 --- a/icu4j/main/classes/core/src/com/ibm/icu/util/VersionInfo.java +++ b/icu4j/main/classes/core/src/com/ibm/icu/util/VersionInfo.java @@ -205,6 +205,12 @@ public final class VersionInfo implements Comparable */ public static final VersionInfo UNICODE_14_0; + /** + * Unicode 15.0 version + * @stable ICU 72 + */ + public static final VersionInfo UNICODE_15_0; + /** * ICU4J current release version * @stable ICU 2.8 @@ -559,10 +565,11 @@ public final class VersionInfo implements Comparable UNICODE_12_1 = getInstance(12, 1, 0, 0); UNICODE_13_0 = getInstance(13, 0, 0, 0); UNICODE_14_0 = getInstance(14, 0, 0, 0); + UNICODE_15_0 = getInstance(15, 0, 0, 0); ICU_VERSION = getInstance(72, 0, 1, 0); ICU_DATA_VERSION = ICU_VERSION; - UNICODE_VERSION = UNICODE_14_0; + UNICODE_VERSION = UNICODE_15_0; UCOL_RUNTIME_VERSION = getInstance(9); UCOL_BUILDER_VERSION = getInstance(9); diff --git a/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/UCharacterTest.java b/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/UCharacterTest.java index d59183beab1..e695411e70f 100644 --- a/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/UCharacterTest.java +++ b/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/UCharacterTest.java @@ -56,7 +56,7 @@ public final class UCharacterTest extends TestFmwk /** * Expected Unicode version. */ - private final VersionInfo VERSION_ = VersionInfo.getInstance(14); + private final VersionInfo VERSION_ = VersionInfo.getInstance(15); // constructor ===================================================