11cb0ef41Sopenharmony_ci[ 21cb0ef41Sopenharmony_ci "This resource is focused on highlighting issues with UTS #46 ToASCII", 31cb0ef41Sopenharmony_ci { 41cb0ef41Sopenharmony_ci "comment": "Label with hyphens in 3rd and 4th position", 51cb0ef41Sopenharmony_ci "input": "aa--", 61cb0ef41Sopenharmony_ci "output": "aa--" 71cb0ef41Sopenharmony_ci }, 81cb0ef41Sopenharmony_ci { 91cb0ef41Sopenharmony_ci "input": "a†--", 101cb0ef41Sopenharmony_ci "output": "xn--a---kp0a" 111cb0ef41Sopenharmony_ci }, 121cb0ef41Sopenharmony_ci { 131cb0ef41Sopenharmony_ci "input": "ab--c", 141cb0ef41Sopenharmony_ci "output": "ab--c" 151cb0ef41Sopenharmony_ci }, 161cb0ef41Sopenharmony_ci { 171cb0ef41Sopenharmony_ci "comment": "Label with leading hyphen", 181cb0ef41Sopenharmony_ci "input": "-x", 191cb0ef41Sopenharmony_ci "output": "-x" 201cb0ef41Sopenharmony_ci }, 211cb0ef41Sopenharmony_ci { 221cb0ef41Sopenharmony_ci "input": "-†", 231cb0ef41Sopenharmony_ci "output": "xn----xhn" 241cb0ef41Sopenharmony_ci }, 251cb0ef41Sopenharmony_ci { 261cb0ef41Sopenharmony_ci "input": "-x.xn--nxa", 271cb0ef41Sopenharmony_ci "output": "-x.xn--nxa" 281cb0ef41Sopenharmony_ci }, 291cb0ef41Sopenharmony_ci { 301cb0ef41Sopenharmony_ci "input": "-x.β", 311cb0ef41Sopenharmony_ci "output": "-x.xn--nxa" 321cb0ef41Sopenharmony_ci }, 331cb0ef41Sopenharmony_ci { 341cb0ef41Sopenharmony_ci "comment": "Label with trailing hyphen", 351cb0ef41Sopenharmony_ci "input": "x-.xn--nxa", 361cb0ef41Sopenharmony_ci "output": "x-.xn--nxa" 371cb0ef41Sopenharmony_ci }, 381cb0ef41Sopenharmony_ci { 391cb0ef41Sopenharmony_ci "input": "x-.β", 401cb0ef41Sopenharmony_ci "output": "x-.xn--nxa" 411cb0ef41Sopenharmony_ci }, 421cb0ef41Sopenharmony_ci { 431cb0ef41Sopenharmony_ci "comment": "Empty labels", 441cb0ef41Sopenharmony_ci "input": "x..xn--nxa", 451cb0ef41Sopenharmony_ci "output": "x..xn--nxa" 461cb0ef41Sopenharmony_ci }, 471cb0ef41Sopenharmony_ci { 481cb0ef41Sopenharmony_ci "input": "x..β", 491cb0ef41Sopenharmony_ci "output": "x..xn--nxa" 501cb0ef41Sopenharmony_ci }, 511cb0ef41Sopenharmony_ci { 521cb0ef41Sopenharmony_ci "comment": "Invalid Punycode", 531cb0ef41Sopenharmony_ci "input": "xn--a", 541cb0ef41Sopenharmony_ci "output": null 551cb0ef41Sopenharmony_ci }, 561cb0ef41Sopenharmony_ci { 571cb0ef41Sopenharmony_ci "input": "xn--a.xn--nxa", 581cb0ef41Sopenharmony_ci "output": null 591cb0ef41Sopenharmony_ci }, 601cb0ef41Sopenharmony_ci { 611cb0ef41Sopenharmony_ci "input": "xn--a.β", 621cb0ef41Sopenharmony_ci "output": null 631cb0ef41Sopenharmony_ci }, 641cb0ef41Sopenharmony_ci { 651cb0ef41Sopenharmony_ci "comment": "Valid Punycode", 661cb0ef41Sopenharmony_ci "input": "xn--nxa.xn--nxa", 671cb0ef41Sopenharmony_ci "output": "xn--nxa.xn--nxa" 681cb0ef41Sopenharmony_ci }, 691cb0ef41Sopenharmony_ci { 701cb0ef41Sopenharmony_ci "comment": "Mixed", 711cb0ef41Sopenharmony_ci "input": "xn--nxa.β", 721cb0ef41Sopenharmony_ci "output": "xn--nxa.xn--nxa" 731cb0ef41Sopenharmony_ci }, 741cb0ef41Sopenharmony_ci { 751cb0ef41Sopenharmony_ci "input": "ab--c.xn--nxa", 761cb0ef41Sopenharmony_ci "output": "ab--c.xn--nxa" 771cb0ef41Sopenharmony_ci }, 781cb0ef41Sopenharmony_ci { 791cb0ef41Sopenharmony_ci "input": "ab--c.β", 801cb0ef41Sopenharmony_ci "output": "ab--c.xn--nxa" 811cb0ef41Sopenharmony_ci }, 821cb0ef41Sopenharmony_ci { 831cb0ef41Sopenharmony_ci "comment": "CheckJoiners is true", 841cb0ef41Sopenharmony_ci "input": "\u200D.example", 851cb0ef41Sopenharmony_ci "output": null 861cb0ef41Sopenharmony_ci }, 871cb0ef41Sopenharmony_ci { 881cb0ef41Sopenharmony_ci "input": "xn--1ug.example", 891cb0ef41Sopenharmony_ci "output": null 901cb0ef41Sopenharmony_ci }, 911cb0ef41Sopenharmony_ci { 921cb0ef41Sopenharmony_ci "comment": "CheckBidi is true", 931cb0ef41Sopenharmony_ci "input": "يa", 941cb0ef41Sopenharmony_ci "output": null 951cb0ef41Sopenharmony_ci }, 961cb0ef41Sopenharmony_ci { 971cb0ef41Sopenharmony_ci "input": "xn--a-yoc", 981cb0ef41Sopenharmony_ci "output": null 991cb0ef41Sopenharmony_ci }, 1001cb0ef41Sopenharmony_ci { 1011cb0ef41Sopenharmony_ci "comment": "processing_option is Nontransitional_Processing", 1021cb0ef41Sopenharmony_ci "input": "ශ්රී", 1031cb0ef41Sopenharmony_ci "output": "xn--10cl1a0b660p" 1041cb0ef41Sopenharmony_ci }, 1051cb0ef41Sopenharmony_ci { 1061cb0ef41Sopenharmony_ci "input": "نامهای", 1071cb0ef41Sopenharmony_ci "output": "xn--mgba3gch31f060k" 1081cb0ef41Sopenharmony_ci }, 1091cb0ef41Sopenharmony_ci { 1101cb0ef41Sopenharmony_ci "comment": "U+FFFD", 1111cb0ef41Sopenharmony_ci "input": "\uFFFD.com", 1121cb0ef41Sopenharmony_ci "output": null 1131cb0ef41Sopenharmony_ci }, 1141cb0ef41Sopenharmony_ci { 1151cb0ef41Sopenharmony_ci "comment": "U+FFFD character encoded in Punycode", 1161cb0ef41Sopenharmony_ci "input": "xn--zn7c.com", 1171cb0ef41Sopenharmony_ci "output": null 1181cb0ef41Sopenharmony_ci }, 1191cb0ef41Sopenharmony_ci { 1201cb0ef41Sopenharmony_ci "comment": "Label longer than 63 code points", 1211cb0ef41Sopenharmony_ci "input": "x01234567890123456789012345678901234567890123456789012345678901x", 1221cb0ef41Sopenharmony_ci "output": "x01234567890123456789012345678901234567890123456789012345678901x" 1231cb0ef41Sopenharmony_ci }, 1241cb0ef41Sopenharmony_ci { 1251cb0ef41Sopenharmony_ci "input": "x01234567890123456789012345678901234567890123456789012345678901†", 1261cb0ef41Sopenharmony_ci "output": "xn--x01234567890123456789012345678901234567890123456789012345678901-6963b" 1271cb0ef41Sopenharmony_ci }, 1281cb0ef41Sopenharmony_ci { 1291cb0ef41Sopenharmony_ci "input": "x01234567890123456789012345678901234567890123456789012345678901x.xn--nxa", 1301cb0ef41Sopenharmony_ci "output": "x01234567890123456789012345678901234567890123456789012345678901x.xn--nxa" 1311cb0ef41Sopenharmony_ci }, 1321cb0ef41Sopenharmony_ci { 1331cb0ef41Sopenharmony_ci "input": "x01234567890123456789012345678901234567890123456789012345678901x.β", 1341cb0ef41Sopenharmony_ci "output": "x01234567890123456789012345678901234567890123456789012345678901x.xn--nxa" 1351cb0ef41Sopenharmony_ci }, 1361cb0ef41Sopenharmony_ci { 1371cb0ef41Sopenharmony_ci "comment": "Domain excluding TLD longer than 253 code points", 1381cb0ef41Sopenharmony_ci "input": "01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.0123456789012345678901234567890123456789012345678.x", 1391cb0ef41Sopenharmony_ci "output": "01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.0123456789012345678901234567890123456789012345678.x" 1401cb0ef41Sopenharmony_ci }, 1411cb0ef41Sopenharmony_ci { 1421cb0ef41Sopenharmony_ci "input": "01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.0123456789012345678901234567890123456789012345678.xn--nxa", 1431cb0ef41Sopenharmony_ci "output": "01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.0123456789012345678901234567890123456789012345678.xn--nxa" 1441cb0ef41Sopenharmony_ci }, 1451cb0ef41Sopenharmony_ci { 1461cb0ef41Sopenharmony_ci "input": "01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.0123456789012345678901234567890123456789012345678.β", 1471cb0ef41Sopenharmony_ci "output": "01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.0123456789012345678901234567890123456789012345678.xn--nxa" 1481cb0ef41Sopenharmony_ci } 1491cb0ef41Sopenharmony_ci] 150