48 lines
853 B
JSON
48 lines
853 B
JSON
[
|
|
"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|"
|
|
}
|
|
}
|
|
]
|