xref: /llvm-project/libcxx/utils/data/unicode/README.txt (revision 68c3d66a97a0c1b7bb1b6b2b84640eece07bcc9c)
1Contains various Unicode data files used in the library for Unicode support
2
3To update all files to the last published Unicode version issue the following
4command in the directory containing this file.
5
6wget \
7    https://www.unicode.org/Public/UCD/latest/ucd/DerivedCoreProperties.txt \
8    https://www.unicode.org/Public/UCD/latest/ucd/auxiliary/GraphemeBreakProperty.txt \
9    https://www.unicode.org/Public/UCD/latest/ucd/auxiliary/GraphemeBreakTest.txt \
10    https://www.unicode.org/Public/UCD/latest/ucd/emoji/emoji-data.txt \
11    https://www.unicode.org/Public/UCD/latest/ucd/extracted/DerivedGeneralCategory.txt \
12    https://www.unicode.org/Public/UCD/latest/ucd/EastAsianWidth.txt
13
14Afterwards build the `libcxx-generate-files` target to update the generated
15Unicode files.
16
17GraphemeBreakProperty.txt
18Source: https://www.unicode.org/Public/UCD/latest/ucd/auxiliary/GraphemeBreakProperty.txt
19Usage:  libcxx/utils/generate_extended_grapheme_cluster_table.py
20
21emoji-data.txt
22Source: https://www.unicode.org/Public/UCD/latest/ucd/emoji/emoji-data.txt
23Usage:  libcxx/utils/generate_extended_grapheme_cluster_table.py
24
25GraphemeBreakTest.txt
26Source: https://www.unicode.org/Public/UCD/latest/ucd/auxiliary/GraphemeBreakTest.txt
27Usage:  libcxx/utils/generate_extended_grapheme_cluster_test.py
28
29DerivedCoreProperties.txt
30Source: https://www.unicode.org/Public/UCD/latest/ucd/DerivedCoreProperties.txt
31Usage: libcxx/utils/generate_escaped_output_table.py
32
33DerivedGeneralCategory.txt
34Source: https://www.unicode.org/Public/UCD/latest/ucd/extracted/DerivedGeneralCategory.txt
35Usage: libcxx/utils/generate_escaped_output_table.py
36
37EastAsianWidth.txt
38https://www.unicode.org/Public/UCD/latest/ucd/EastAsianWidth.txt
39Usage: libcxx/utils/generate_width_estimation_table.py
40