xref: /openbsd-src/gnu/llvm/libcxx/utils/data/unicode/README.txt (revision 4bdff4bed0e3d54e55670334c7d0077db4170f86)
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
13Afterwards build the `libcxx-generate-files` target to update the generated
14Unicode files.
15
16GraphemeBreakProperty.txt
17Source: https://www.unicode.org/Public/UCD/latest/ucd/auxiliary/GraphemeBreakProperty.txt
18Usage:  libcxx/utils/generate_extended_grapheme_cluster_table.py
19
20emoji-data.txt
21Source: https://www.unicode.org/Public/UCD/latest/ucd/emoji/emoji-data.txt
22Usage:  libcxx/utils/generate_extended_grapheme_cluster_table.py
23
24GraphemeBreakTest.txt
25Source: https://www.unicode.org/Public/UCD/latest/ucd/auxiliary/GraphemeBreakTest.txt
26Usage:  libcxx/utils/generate_extended_grapheme_cluster_test.py
27
28DerivedCoreProperties.txt
29Source: https://www.unicode.org/Public/UCD/latest/ucd/DerivedCoreProperties.txt
30Usage: libcxx/utils/generate_escaped_output_table.py
31
32DerivedGeneralCategory.txt
33Source: https://www.unicode.org/Public/UCD/latest/ucd/extracted/DerivedGeneralCategory.txt
34Usage: libcxx/utils/generate_escaped_output_table.py
35