testsuite: Add a case with escaped Latin-1 code

This came up in recent g_uri_escape() discussions.
This commit is contained in:
Benjamin Otte 2020-07-10 02:13:50 +02:00
parent c36cbd5140
commit 58e85c85e4

View File

@ -52,6 +52,9 @@ Test tests[] = {
{ "charset",
"data:text/plain;charset=ISO-8859-1,Timm B\344der",
"text/plain", CONTENTS("Timm Bäder") },
{ "charset_escaped",
"data:text/plain;charset=ISO-8859-1,Timm%20B%E4der",
"text/plain", CONTENTS("Timm Bäder") },
{ "charset_base64",
"data:text/plain;charset=ISO-8859-5;base64,wOPh29DdILjW0ePb0OLe0g==",
"text/plain", CONTENTS("Руслан Ижбулатов") },