2 "This resource is focused on highlighting issues with UTS #46 ToASCII",
4 "comment": "Label with hyphens in 3rd and 4th position",
10 "output": "xn--a---kp0a"
17 "comment": "Label with leading hyphen",
26 "input": "-x.xn--zca",
27 "output": "-x.xn--zca"
31 "output": "-x.xn--zca"
34 "comment": "Label with trailing hyphen",
35 "input": "x-.xn--zca",
36 "output": "x-.xn--zca"
40 "output": "x-.xn--zca"
43 "comment": "Empty labels",
44 "input": "x..xn--zca",
45 "output": "x..xn--zca"
49 "output": "x..xn--zca"
52 "comment": "Invalid Punycode",
57 "input": "xn--a.xn--zca",
69 "comment": "Invalid Punycode (contains non-ASCII character)",
74 "comment": "Valid Punycode",
75 "input": "xn--zca.xn--zca",
76 "output": "xn--zca.xn--zca"
81 "output": "xn--zca.xn--zca"
84 "input": "ab--c.xn--zca",
85 "output": "ab--c.xn--zca"
89 "output": "ab--c.xn--zca"
92 "comment": "CheckJoiners is true",
93 "input": "\u200D.example",
97 "input": "xn--1ug.example",
101 "comment": "CheckBidi is true",
106 "input": "xn--a-yoc",
110 "comment": "processing_option is Nontransitional_Processing",
112 "output": "xn--10cl1a0b660p"
116 "output": "xn--mgba3gch31f060k"
120 "input": "\uFFFD.com",
124 "comment": "U+FFFD character encoded in Punycode",
125 "input": "xn--zn7c.com",
129 "comment": "Label longer than 63 code points",
130 "input": "x01234567890123456789012345678901234567890123456789012345678901x",
131 "output": "x01234567890123456789012345678901234567890123456789012345678901x"
134 "input": "x01234567890123456789012345678901234567890123456789012345678901†",
135 "output": "xn--x01234567890123456789012345678901234567890123456789012345678901-6963b"
138 "input": "x01234567890123456789012345678901234567890123456789012345678901x.xn--zca",
139 "output": "x01234567890123456789012345678901234567890123456789012345678901x.xn--zca"
142 "input": "x01234567890123456789012345678901234567890123456789012345678901x.ß",
143 "output": "x01234567890123456789012345678901234567890123456789012345678901x.xn--zca"
146 "comment": "Domain excluding TLD longer than 253 code points",
147 "input": "01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.0123456789012345678901234567890123456789012345678.x",
148 "output": "01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.0123456789012345678901234567890123456789012345678.x"
151 "input": "01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.0123456789012345678901234567890123456789012345678.xn--zca",
152 "output": "01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.0123456789012345678901234567890123456789012345678.xn--zca"
155 "input": "01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.0123456789012345678901234567890123456789012345678.ß",
156 "output": "01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.0123456789012345678901234567890123456789012345678.xn--zca"
159 "comment": "IDNA ignored code points",
168 "comment": "Empty host after domain to ASCII",
181 "comment": "Interesting UseSTD3ASCIIRules=false cases",