Commit 9b1e7f38 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

XML: test case for C0/C1 control codes encoding

parent 15c5e826
......@@ -76,6 +76,8 @@ int main (void)
encode ("", "");
encode ("a'àc\"çe&én<ño>ö1:", "a&#39;àc&quot;çe&amp;én&lt;ño&gt;ö1:");
encode ("\x01\xC2\x81\xC2\x85", "&#1;&#129;\xC2\x85");
encode ("\r\n", "\r\n");
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