README
1This directory contains tools to generate the tables in
2src/include/common/unicode_norm.h, used for Unicode normalization. The
3generated .h file is included in the source tree, so these are normally not
4needed to build PostgreSQL, only if you need to re-generate the .h file
5from the Unicode data files for some reason, e.g. to update to a new version
6of Unicode.
7
8Generating unicode_norm_table.h
9-------------------------------
10
11Run
12
13 make update-unicode
14
15from the top level of the source tree and commit the result.
16
17Tests
18-----
19
20The Unicode consortium publishes a comprehensive test suite for the
21normalization algorithm, in a file called NormalizationTest.txt. This
22directory also contains a perl script and some C code, to run our
23normalization code with all the test strings in NormalizationTest.txt.
24To download NormalizationTest.txt and run the tests:
25
26 make normalization-check
27
28This is also run as part of the update-unicode target.
29