From 0684f8644ca37153e8dbb25940d82bc14078e712 Mon Sep 17 00:00:00 2001 From: Markus Scherer Date: Tue, 14 Mar 2023 17:00:26 -0700 Subject: [PATCH] ICU-22285 how to include gb2312 & big5han collation tailorings --- docs/userguide/icu_data/buildtool.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/docs/userguide/icu_data/buildtool.md b/docs/userguide/icu_data/buildtool.md index 638660fa3a3..ba0e646fc47 100644 --- a/docs/userguide/icu_data/buildtool.md +++ b/docs/userguide/icu_data/buildtool.md @@ -104,6 +104,27 @@ The default configuration is equivalent to a filter file like this: ] } +If you do want to include these collation tailorings, +you can configure ICU with a filter file which has the opposite effect: + + { + "resourceFilters": [ + { + "categories": [ + "coll_tree" + ], + "rules": [ + "+/collations/big5han", + "+/collations/gb2312han" + ] + } + ] + } + +Alternatively, if you want to make sure to include *all* collation tailorings, +you can use a single filter rule like `+/collations` or `+/collations/*` +rather than listing each tailoring by its full, explicit path. + ### Locale Slicing The simplest way to slice ICU data is by locale. The ICU Data Build Tool