summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/url/resources/percent-encoding.json
blob: eccd1db62fe60131fb12cbdf8c16e0354bcf7a98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[
  "Tests for percent-encoding.",
  {
    "input": "\u2020",
    "output": {
      "big5": "%26%238224%3B",
      "euc-kr": "%A2%D3",
      "utf-8": "%E2%80%A0",
      "windows-1252": "%86"
    }
  },
  "This uses a trailing A to prevent the URL parser from trimming the C0 control.",
  {
    "input": "\u000EA",
    "output": {
      "big5": "%0EA",
      "iso-2022-jp": "%26%2365533%3BA",
      "utf-8": "%0EA"
    }
  },
  {
    "input": "\u203E\u005C",
    "output": {
      "iso-2022-jp": "%1B(J~%1B(B\\",
      "utf-8": "%E2%80%BE\\"
    }
  },
  {
    "input": "\uE5E5",
    "output": {
      "gb18030": "%26%2358853%3B",
      "utf-8": "%EE%97%A5"
    }
  },
  {
    "input": "\u2212",
    "output": {
      "shift_jis": "%81|",
      "utf-8": "%E2%88%92"
    }
  },
  {
    "input": "á|",
    "output": {
      "utf-8": "%C3%A1|"
    }
  }
]