From 36e5684ae023ac90456c4224c73ced40e30d1ace Mon Sep 17 00:00:00 2001 From: Michael Dawson Date: Wed, 1 Jun 2022 15:26:39 -0400 Subject: [PATCH] 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 PR-URL: https://github.com/nodejs/node/pull/43287 Reviewed-By: Steven R Loomis --- doc/contributing/maintaining-icu.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/contributing/maintaining-icu.md b/doc/contributing/maintaining-icu.md index f33cde56763305..a8ce43d3a3b4aa 100644 --- a/doc/contributing/maintaining-icu.md +++ b/doc/contributing/maintaining-icu.md @@ -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.