|
8 | 8 | 2. Run GenerateIdna.java |
9 | 9 | * It will generate |
10 | 10 | {Generated}/idna/{version}/**IdnaMappingTable.txt** |
11 | | - * ~~The data for the last 4 columns (h, i, j, k) of Table 4 IDNA |
12 | | - Comparisons for the UTR are listed at the bottom of the console |
13 | | - output.~~ |
14 | | - * ~~Fix Table 4 (h, i, j, k) with that data, and check into the repo.~~ |
15 | | - * ~~Diff with the previous version, and make sure everything is |
16 | | - understood, then check into the repo.~~ |
17 | | - * :construction: **TODO(markusicu)**: Obsolete?\ |
18 | | - The results will be in |
19 | | - https://www.unicode.org/draft/Public/idna/{version}/ **IdnaMappingTable.txt** |
| 11 | + * Before [UTS #46 table 4](https://www.unicode.org/reports/tr46/#Table_IDNA_Comparisons) |
| 12 | + was fixed at Unicode 11: |
| 13 | + * The data for the last 4 columns (h, i, j, k) of Table 4 IDNA |
| 14 | + Comparisons for the UTR are listed at the bottom of the console output. |
| 15 | + * Fix Table 4 (h, i, j, k) with that data, and check into the repo. |
| 16 | + * Diff with the previous version, and make sure everything is understood, |
| 17 | + then copy back into the dev folder. |
| 18 | + ``` |
| 19 | + Generated$ meld ../src/unicodetools/data/idna/dev/IdnaMappingTable.txt idna/15.1.0/IdnaMappingTable.txt |
| 20 | + Generated$ cp idna/15.1.0/IdnaMappingTable.txt ../src/unicodetools/data/idna/dev/IdnaMappingTable.txt |
| 21 | + ``` |
| 22 | + * *Important:* The mapping table file must be copied into the dev folder |
| 23 | + before running GenerateIdnaTest.java! |
| 24 | + Otherwise that tool will see the old version of the data. |
20 | 25 | 3. Now run GenerateIdnaTest.java, in order to generate the test file. |
21 | 26 | 1. It will generate {Generated}/idna/{version}/**IdnaTestV2.txt** |
22 | 27 | 2. Diff with the previous version, and make sure everything is understood, |
23 | | - then check into the repo. |
24 | | - 3. :construction: **TODO(markusicu)**: Obsolete?\ |
25 | | - The results will be in |
26 | | - https://www.unicode.org/draft/Public/idna/{version}/ **IdnaTestV2.txt** |
| 28 | + then copy back into the dev folder. |
| 29 | + ``` |
| 30 | + Generated$ meld ../src/unicodetools/data/idna/dev/IdnaTestV2.txt idna/15.1.0/IdnaTestV2.txt |
| 31 | + Generated$ cp idna/15.1.0/IdnaTestV2.txt ../src/unicodetools/data/idna/dev/IdnaTestV2.txt |
| 32 | + ``` |
27 | 33 | 4. Edit the ReadMe.txt if necessary. |
28 | 34 | 1. Fix the copyright date |
29 | 35 | 2. Add or remove "draft" in front of "data files", according to the status |
|
0 commit comments