Commit 08c410dc authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Even more tests

parent 8549e2b0
...@@ -58,8 +58,9 @@ int main (void) ...@@ -58,8 +58,9 @@ int main (void)
test_decode ("%0000", ""); test_decode ("%0000", "");
/* UTF-8 tests */ /* UTF-8 tests */
test_decode ("T%C3%a9l%c3%A9vision", "Télévision"); test_decode ("T%C3%a9l%c3%A9vision+%e2%82%Ac", "Télévision €");
test_decode ("T%E9l%E9vision", "T?l?vision"); test_decode ("T%E9l%E9vision", "T?l?vision");
test_decode ("%C1%94%C3%a9l%c3%A9vision", "??élévision"); /* overlong */
return 0; return 0;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment