ICU is the premier library for software internationalization, used by a wide array of companies and organizations.
ICU 76 updates to Unicode 16 (blog), including new characters and scripts, emoji, collation & IDNA changes, and corresponding APIs and implementations.
It also updates to CLDR 46 (beta blog) locale data with new locales, signficant updates to existing locales, and various additions and corrections. For example, the CLDR and Unicode default sort orders are now very nearly the same.
Most of the java.time (Temporal) types can now be formatted directly using the existing ICU4J date/time formatting classes.
There are some new APIs to make ICU easier to use with modern C++ and Java patterns. Most of the C/C++ APIs added for this purpose are implemented as C++ header-only APIs, and usable on top of binary stable C APIs, which is a first for ICU.
The Java and C++ technology preview implementations of the (also in tech preview) CLDR MessageFormat 2.0 specification have been updated to match recent changes.
For more details, including migration issues, see below.
Please use the icu-support mailing list and/or find/submit error reports.
The initial release has library version number 76.1.
If there are maintenance releases, they will be 76.2, 76.3, etc. (During ICU 76 development, the library version number was 76.0.x.)
Note: There may be additional commits on the maint/maint-76 branch that are not included in the prepackaged download files.
portion-per-1e9 (aka per-billion). (See ICU-22781)After all major browsers have switched to nontransitional processing, Unicode 15.1 (a year ago) changed the UTS #46 spec to declare transitional processing deprecated.
ICU 76 changes the “DEFAULT” API constants from 0 to UIDNA_NONTRANSITIONAL_TO_ASCII | UIDNA_NONTRANSITIONAL_TO_UNICODE.
ICU 76 does not change the behavior of using options value 0. (That would change the behavior of existing binaries linking with new ICU libraries.) However, when code is recompiled against a new version of ICU, and when it uses the DEFAULT constant, then it will pass these option flags into the factory method.
See ICU-22294
ICU 75 renamed the still-draft SimpleNumber::truncateStart() to setMaximumIntegerDigits(). ICU 76 removes the never-stable, original function. Same for the C API usnum_truncateStart(). (ICU-22900)
ICU 76 is the first version where we add what we call C++ header-only APIs. These are especially intended for users who rely on only binary stable DLL/library exports of C APIs (C++ APIs cannot be binary stable).
Please test these new APIs and let us know if you find problems — especially if you find a platform/compiler/options combination where the call site does end up calling into ICU DLL/library exports.
Remember that regular C++ APIs can be hidden by callers defining U_SHOW_CPLUSPLUS_API=0. The new header-only APIs can be separately enabled via U_SHOW_CPLUSPLUS_HEADER_API=1.
(GitHub query for U_SHOW_CPLUSPLUS_HEADER_API in public header files)
These are C++ definitions that are not exported by the ICU DLLs/libraries, are thus inlined into the calling code, and which may call ICU C APIs but not into ICU non-header-only C++ APIs.
The header-only APIs are defined in a nested header namespace. If entry point renaming is turned off (the main namespace is icu rather than icu_76 etc.), then the new U_HEADER_ONLY_NAMESPACE is icu::header.
(Link to the API proposal which introduced this concept)
For example, for iterating over the code point ranges in a USet (excluding the strings):
U_NAMESPACE_USE using U_HEADER_NESTED_NAMESPACE::USetRanges; LocalUSetPointer uset(uset_openPattern(u"[abcçカ🚴]", -1, &errorCode)); for (auto [start, end] : USetRanges(uset.getAlias())) { printf("uset.range U+%04lx..U+%04lx\n", (long)start, (long)end); } for (auto range : USetRanges(uset.getAlias())) { for (UChar32 c : range) { printf("uset.range.c U+%04lx\n", (long)c); } }
(Implementation note: On most platforms, when compiling ICU itself, the U_HEADER_ONLY_NAMESPACE is icu::internal, so that any such symbols that get exported differ from the ones that calling code sees. On Windows, where DLL exports are explicit, the namespace is always the same, but these header-only APIs are not marked for export.)
ICU4C requires C++17 and has been tested with up to C++20.
We routinely test on recent versions of Linux, macOS, and Windows.
We accept patches for other platforms.
For ICU 76, we have received a contribution to make ICU4C work again on z/OS, using a newer (clang-based) compiler. (ICU-22714 icu/pull/3008 + ICU-22916 icu/pull/3208)
Windows: The minimum supported version is Windows 7. (See How To Build And Install On Windows for more details.)
ICU4J works on Java 8..21 (at least).
ICU4J should work on Android API level 21 and later but may require “library desugaring”.
Source and binary downloads are available on the git/GitHub tag page: https://github.com/unicode-org/icu/releases/tag/release-76-rc
See the Source Code Setup page for how to download the ICU file tree directly from GitHub.
ICU locale data was generated from CLDR data equivalent to:
Maven dependency: TODO
<dependency> <groupId>com.ibm.icu</groupId> <artifactId>icu4j</artifactId> <version>76.1</version> </dependency>