]> git.proxmox.com Git - rustc.git/blob - vendor/idna/tests/punycode_tests.json
New upstream version 1.40.0+dfsg1
[rustc.git] / vendor / idna / tests / punycode_tests.json
1 [
2 {
3 "description": "These tests are copied from https://github.com/bestiejs/punycode.js/blob/master/tests/tests.js , used under the MIT license.",
4 "decoded": "",
5 "encoded": ""
6 },
7 {
8 "description": "a single basic code point",
9 "decoded": "Bach",
10 "encoded": "Bach-"
11 },
12 {
13 "description": "a single non-ASCII character",
14 "decoded": "\u00FC",
15 "encoded": "tda"
16 },
17 {
18 "description": "multiple non-ASCII characters",
19 "decoded": "\u00FC\u00EB\u00E4\u00F6\u2665",
20 "encoded": "4can8av2009b"
21 },
22 {
23 "description": "mix of ASCII and non-ASCII characters",
24 "decoded": "b\u00FCcher",
25 "encoded": "bcher-kva"
26 },
27 {
28 "description": "long string with both ASCII and non-ASCII characters",
29 "decoded": "Willst du die Bl\u00FCthe des fr\u00FChen, die Fr\u00FCchte des sp\u00E4teren Jahres",
30 "encoded": "Willst du die Blthe des frhen, die Frchte des spteren Jahres-x9e96lkal"
31 },
32 {
33 "description": "Arabic (Egyptian)",
34 "decoded": "\u0644\u064A\u0647\u0645\u0627\u0628\u062A\u0643\u0644\u0645\u0648\u0634\u0639\u0631\u0628\u064A\u061F",
35 "encoded": "egbpdaj6bu4bxfgehfvwxn"
36 },
37 {
38 "description": "Chinese (simplified)",
39 "decoded": "\u4ED6\u4EEC\u4E3A\u4EC0\u4E48\u4E0D\u8BF4\u4E2d\u6587",
40 "encoded": "ihqwcrb4cv8a8dqg056pqjye"
41 },
42 {
43 "description": "Chinese (traditional)",
44 "decoded": "\u4ED6\u5011\u7232\u4EC0\u9EBD\u4E0D\u8AAA\u4E2D\u6587",
45 "encoded": "ihqwctvzc91f659drss3x8bo0yb"
46 },
47 {
48 "description": "Czech",
49 "decoded": "Pro\u010Dprost\u011Bnemluv\u00ED\u010Desky",
50 "encoded": "Proprostnemluvesky-uyb24dma41a"
51 },
52 {
53 "description": "Hebrew",
54 "decoded": "\u05DC\u05DE\u05D4\u05D4\u05DD\u05E4\u05E9\u05D5\u05D8\u05DC\u05D0\u05DE\u05D3\u05D1\u05E8\u05D9\u05DD\u05E2\u05D1\u05E8\u05D9\u05EA",
55 "encoded": "4dbcagdahymbxekheh6e0a7fei0b"
56 },
57 {
58 "description": "Hindi (Devanagari)",
59 "decoded": "\u092F\u0939\u0932\u094B\u0917\u0939\u093F\u0928\u094D\u0926\u0940\u0915\u094D\u092F\u094B\u0902\u0928\u0939\u0940\u0902\u092C\u094B\u0932\u0938\u0915\u0924\u0947\u0939\u0948\u0902",
60 "encoded": "i1baa7eci9glrd9b2ae1bj0hfcgg6iyaf8o0a1dig0cd"
61 },
62 {
63 "description": "Japanese (kanji and hiragana)",
64 "decoded": "\u306A\u305C\u307F\u3093\u306A\u65E5\u672C\u8A9E\u3092\u8A71\u3057\u3066\u304F\u308C\u306A\u3044\u306E\u304B",
65 "encoded": "n8jok5ay5dzabd5bym9f0cm5685rrjetr6pdxa"
66 },
67 {
68 "description": "Korean (Hangul syllables)",
69 "decoded": "\uC138\uACC4\uC758\uBAA8\uB4E0\uC0AC\uB78C\uB4E4\uC774\uD55C\uAD6D\uC5B4\uB97C\uC774\uD574\uD55C\uB2E4\uBA74\uC5BC\uB9C8\uB098\uC88B\uC744\uAE4C",
70 "encoded": "989aomsvi5e83db1d2a355cv1e0vak1dwrv93d5xbh15a0dt30a5jpsd879ccm6fea98c"
71 },
72 {
73 "description": "Russian (Cyrillic)",
74 "decoded": "\u043F\u043E\u0447\u0435\u043C\u0443\u0436\u0435\u043E\u043D\u0438\u043D\u0435\u0433\u043E\u0432\u043E\u0440\u044F\u0442\u043F\u043E\u0440\u0443\u0441\u0441\u043A\u0438",
75 "encoded": "b1abfaaepdrnnbgefbadotcwatmq2g4l"
76 },
77 {
78 "description": "Spanish",
79 "decoded": "Porqu\u00E9nopuedensimplementehablarenEspa\u00F1ol",
80 "encoded": "PorqunopuedensimplementehablarenEspaol-fmd56a"
81 },
82 {
83 "description": "Vietnamese",
84 "decoded": "T\u1EA1isaoh\u1ECDkh\u00F4ngth\u1EC3ch\u1EC9n\u00F3iti\u1EBFngVi\u1EC7t",
85 "encoded": "TisaohkhngthchnitingVit-kjcr8268qyxafd2f1b9g"
86 },
87 {
88 "decoded": "3\u5E74B\u7D44\u91D1\u516B\u5148\u751F",
89 "encoded": "3B-ww4c5e180e575a65lsy2b"
90 },
91 {
92 "decoded": "\u5B89\u5BA4\u5948\u7F8E\u6075-with-SUPER-MONKEYS",
93 "encoded": "-with-SUPER-MONKEYS-pc58ag80a8qai00g7n9n"
94 },
95 {
96 "decoded": "Hello-Another-Way-\u305D\u308C\u305E\u308C\u306E\u5834\u6240",
97 "encoded": "Hello-Another-Way--fc4qua05auwb3674vfr0b"
98 },
99 {
100 "decoded": "\u3072\u3068\u3064\u5C4B\u6839\u306E\u4E0B2",
101 "encoded": "2-u9tlzr9756bt3uc0v"
102 },
103 {
104 "decoded": "Maji\u3067Koi\u3059\u308B5\u79D2\u524D",
105 "encoded": "MajiKoi5-783gue6qz075azm5e"
106 },
107 {
108 "decoded": "\u30D1\u30D5\u30A3\u30FCde\u30EB\u30F3\u30D0",
109 "encoded": "de-jg4avhby1noc0d"
110 },
111 {
112 "decoded": "\u305D\u306E\u30B9\u30D4\u30FC\u30C9\u3067",
113 "encoded": "d9juau41awczczp"
114 },
115 {
116 "description": "ASCII string that breaks the existing rules for host-name labels (It's not a realistic example for IDNA, because IDNA never encodes pure ASCII labels.)",
117 "decoded": "-> $1.00 <-",
118 "encoded": "-> $1.00 <--"
119 }
120 ]