Commit 2efce50b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

XML: test case for C0/C1 control codes encoding

(cherry picked from commit 9b1e7f3839c0a36059d425c81dd31851148e71ae)
parent 5a4c862f
...@@ -76,6 +76,8 @@ int main (void) ...@@ -76,6 +76,8 @@ int main (void)
encode ("", ""); encode ("", "");
encode ("a'àc\"çe&én<ño>ö1:", "a&#39;àc&quot;çe&amp;én&lt;ño&gt;ö1:"); 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; 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