|
1 | 1 | # IdnaTest.txt
|
2 |
| -# Date: 2017-05-22, 14:06:39 GMT |
| 2 | +# Date: 2017-06-02, 14:19:52 GMT |
3 | 3 | # © 2017 Unicode®, Inc.
|
4 | 4 | # Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the U.S. and other countries.
|
5 | 5 | # For terms of use, see http://www.unicode.org/terms_of_use.html
|
|
21 | 21 | # Leading and trailing spaces and tabs in each column are ignored.
|
22 | 22 | # Comments are indicated with hash marks.
|
23 | 23 | #
|
24 |
| -# Column 1: type - T for transitional, N for nontransitional, B for both |
25 |
| -# Column 2: source - The source string to be tested |
26 |
| -# Column 3: toUnicode - The result of applying toUnicode to the source, using nontransitional. |
27 |
| -# A blank value means the same as the source value; a value in [...] is a set of status codes. |
28 |
| -# Column 4: toASCII - The result of applying toASCII to the source, using the specified type: T, N, or B. |
29 |
| -# A blank value means the same as the toUnicode value; a value in [...] is a set of status codes. |
30 |
| -# Column 5: idna2008Status - NV8 is only present if the status is valid but the character is excluded by IDNA2008 |
31 |
| -# from all domain names for all versions of Unicode. |
32 |
| -# XV8 is present when the character is excluded by IDNA2008 for the current version of Unicode. |
33 |
| -# These are informative values only. |
| 24 | +# Column 1: type - T for transitional, N for nontransitional, B for both |
| 25 | +# Column 2: source - The source string to be tested |
| 26 | +# Column 3: toUnicode - The result of applying toUnicode to the source, using nontransitional. |
| 27 | +# A blank value means the same as the source value; a value in [...] is a set of error codes. |
| 28 | +# Column 4: toASCII - The result of applying toASCII to the source, using the specified type: T, N, or B. |
| 29 | +# A blank value means the same as the toUnicode value; a value in [...] is a set of error codes. |
| 30 | +# Column 5: idna2008 - NV8 is only present if the status is valid but the character is excluded by IDNA2008 |
| 31 | +# from all domain names for all versions of Unicode. |
| 32 | +# XV8 is present when the character is excluded by IDNA2008 for the current version of Unicode. |
| 33 | +# These are informative values only. |
34 | 34 | #
|
35 | 35 | # If the value of toUnicode is the same as source, the column will be blank.
|
36 | 36 | # The line comments currently show visible characters that have been escaped
|
|
59 | 59 | #
|
60 | 60 | # CONFORMANCE:
|
61 | 61 | #
|
62 |
| -# To test for conformance to UTS46, an implementation must first perform the toASCII and to Unicode operations |
63 |
| -# on the source string, with the indicated type. Implementations may be more strict than UTS46; |
64 |
| -# thus they may have errors where the file indicates results. In particular, an implementation conformant to |
65 |
| -# IDNA2008 would disallow the input for lines marked with NV8. |
| 62 | +# To test for conformance to UTS46, an implementation must first perform the toUnicode operation |
| 63 | +# on the source string, then the toASCII operation (with the indicated type) on the source string. |
| 64 | +# Implementations may be more strict than UTS46; thus they may have errors where the file indicates results. |
| 65 | +# In particular, an implementation conformant to IDNA2008 would disallow the input for lines marked with NV8. |
66 | 66 | #
|
67 | 67 | # Moreover, the error codes in the file are informative; implementations need only record that there is an error:
|
68 | 68 | # they need not reproduce those codes. Thus to then verify conformance for the toASCII and toUnicode columns:
|
@@ -569,12 +569,16 @@ N; \u0644\u200C; [B3 C1]; [B3 C1] # ل
|
569 | 569 | B; xn--ghb; \u0644; xn--ghb # ل
|
570 | 570 | B; \u0644; ; xn--ghb # ل
|
571 | 571 | B; xn--ghb413k; [B3 C1]; [B3 C1] # ل
|
| 572 | +B; a。。b; [A4_2]; [A4_2] |
| 573 | +B; A。。B; [A4_2]; [A4_2] |
| 574 | +B; a..b; [A4_2]; [A4_2] |
572 | 575 | T; \u200D。。\u06B9\u200C; [B1 B3 C1 C2 A4_2]; [A4_2] # ..ڹ
|
573 | 576 | N; \u200D。。\u06B9\u200C; [B1 B3 C1 C2 A4_2]; [B1 B3 C1 C2 A4_2] # ..ڹ
|
574 | 577 | B; ..xn--skb; [A4_2]; [A4_2] # ..ڹ
|
575 | 578 | B; xn--1ug..xn--skb080k; [B1 B3 C1 C2 A4_2]; [B1 B3 C1 C2 A4_2] # ..ڹ
|
576 | 579 | B; \u05D00\u0660; [B4]; [B4] # א0٠
|
577 | 580 | B; xn--0-zhc74b; [B4]; [B4] # א0٠
|
| 581 | +B; $; [P1 V6]; [P1 V6] |
578 | 582 |
|
579 | 583 | # RANDOMIZED TESTS
|
580 | 584 |
|
|
0 commit comments