2 * How to generate various properties files in intl/unicharutils/tables and
3 header files in intl/unicharutils/src
4 ( written by Jungshik Shin for bug 210502
5 https://bugzilla.mozilla.org/show_bug.cgi?id=210502 on 2005-04-05 )
7 1. Grab the latest version of idnkit at http://www.nic.ad.jp/en/idn/index.html
8 (http://www.nic.ad.jp/ja/idn/idnkit/download/index.html )
10 2. There are three files we need in the kit:
11 generate_normalize_data.pl, UCD.pm and SparseMap.pm
13 3. a. Download the following Unicode data files :
14 CaseFolding.txt,CompositionExclusions.txt,
15 SpecialCasing.txt, UnicodeData.txt
17 b. Rename UnicodeData.txt to UnicodeData-Latest.txt
19 The latest version is, as of this writing, in
20 ftp://ftp.unicode.org/Public/4.1.0/ucd
22 4. a. Run generate_normalize_data.pl and save the output to a temporary file
24 - remove the case folding part (search for 'Lowercase' and delete
25 all the lines following it) because we have separate scripts for that,
26 - replace 'unsigned short' and 'unsigned long' with 'PRUnichar' and
28 c. Replace the actual source part (after the license) of
29 intl/unicharutil/src/normalization_data.h with the file you edited.
31 5. Generate casetable.h and cattable.h with gencasetable.pl and gencattable.pl
32 Just running them will put casetable.h and cattable.h in the right place.