Skip to content

Commit

Permalink
doc: clarify use of deps/icu-small
Browse files Browse the repository at this point in the history
Add some additional info about use of icu
subset in deps/icu-small

Signed-off-by: Michael Dawson <mdawson@devrus.com>

PR-URL: #43287
Reviewed-By: Steven R Loomis <srloomis@us.ibm.com>
  • Loading branch information
mhdawson authored and danielleadams committed Jun 16, 2022
1 parent 42c2115 commit 36e5684
Showing 1 changed file with 7 additions and 1 deletion.
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 use its built-in ICU,
it uses a strict subset of ICU which is in
[deps/icu-small](https://github.com/nodejs/node/tree/HEAD/deps/icu-small).
A good description of the different ways Node.js can be built with ICU
support is 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

0 comments on commit 36e5684

Please sign in to comment.