doc: clarify use of deps/icu-small

Add some additional info about use of icu
subset in deps/icu-small

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

PR-URL: https://github.com/nodejs/node/pull/43287
Reviewed-By: Steven R Loomis <srloomis@us.ibm.com>
pull/43430/head
Michael Dawson 2022-06-01 15:26:39 -04:00
parent 73d8db896e
commit 83ffb791f4
1 changed files with 7 additions and 1 deletions

View File

@ -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:
@ -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.