mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-06 22:15:31 +00:00
The home of the ICU project source code.
The logic for parsing a localeID string into its constituent subtags is currently repeated over and over again in each one of the uloc_get*() functions, so that calling all these functions one after the other in order to get all the subtags does the parsing all over again from the beginning for each function call. In order to avoid having to do this parsing over and over again, a lot of code instead has its own copy of the parsing logic in order to call the underlying ulocimp_get*() functions directly for lower runtime cost at the price of increased code complexity and repetition. This new ulocimp_getSubtags() function, which writes natively to icu::ByteSink and has a convenience wrapper to write to icu::CharString, removes the repeated code from the uloc_get*() functions and makes it possible to update all code that calls the ulocimp_get*() functions. |
||
---|---|---|
.ci-builds | ||
.github | ||
docs | ||
icu4c | ||
icu4j | ||
tools | ||
vendor/double-conversion | ||
.bazeliskrc | ||
.bazelrc | ||
.cpyskip.txt | ||
.gitattributes | ||
.gitignore | ||
CONTRIBUTING.md | ||
KEYS | ||
LICENSE | ||
README.md | ||
SECURITY.md | ||
WORKSPACE |
International Components for Unicode
This is the repository for the International Components for Unicode. The ICU project is under the stewardship of The Unicode Consortium.
- Source: https://github.com/unicode-org/icu
- Bugs: https://unicode-org.atlassian.net/projects/ICU
- API Docs: https://unicode-org.github.io/icu-docs/
- User Guide: https://unicode-org.github.io/icu/
🔴🔴🔴 Special Notice About Branch Renaming 🔴🔴🔴
Around March 24-25, 2021 we renamed the master
branch to main
. You may need to rename your branch in your local git repo and change your normal git command to reflect this change. See also https://github.com/github/renaming
Build Status (main
branch)
Build | Status |
---|---|
GitHub Actions | |
Azure Pipelines | |
Azure Pipelines (Exhaustive Tests) | |
Azure Pipelines (Valgrind ICU4C) | |
Fuzzing | |
OpenSSF Scorecard |
Subdirectories and Information
icu4c/
ICU for C/C++icu4j/
ICU for Javatools/
Toolsvendor/
Vendor dependencies
Copyright & Licenses
Copyright © 2016-2023 Unicode, Inc. Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the United States and other countries.
The project is released under LICENSE.
A CLA is required to contribute to this project - please refer to the CONTRIBUTING.md file (or start a Pull Request) for more information.