Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: clarify use of deps/icu-small #43287

Closed
wants to merge 4 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion doc/contributing/maintaining-icu.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ functionality. To quote from icu-project.org:
> widely portable and gives applications the same results on all platforms
> and between C/C++ and Java software.

If Node.js is configured to used built in ICU (small-icu, full-icu),
it uses strict subset of ICU which has been copied into
[deps/icu-small](https://github.com/nodejs/node/tree/master/deps/icu-small).
A good description of the different ways Node.js can be build with ICU
support are covered in [api/intl.html](https://nodejs.org/api/intl.html).

## Data dependencies

ICU consumes and includes:
Expand Down Expand Up @@ -51,7 +57,7 @@ files.

#### Example: updating the ICU `.dat` file

* Decompress `deps/icu/source/data/in/icudt##l.dat.bz2`, where `##` is
* Decompress `deps/icu-small/source/data/in/icudt##l.dat.bz2`, where `##` is
the ICU major version number.
* Clone the icu/icu-data repository and copy the latest `tzdata` release `le`
files into the `source/data/in` directory.
Expand Down