[vlc-commits] XML: test case for C0/C1 control codes encoding

Rémi Denis-Courmont git at videolan.org
Thu May 5 11:07:42 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu May  5 12:07:19 2011 +0300| [9b1e7f3839c0a36059d425c81dd31851148e71ae] | committer: Rémi Denis-Courmont

XML: test case for C0/C1 control codes encoding

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9b1e7f3839c0a36059d425c81dd31851148e71ae
---

 src/test/xmlent.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/test/xmlent.c b/src/test/xmlent.c
index e5bc4a6..2f64899 100644
--- a/src/test/xmlent.c
+++ b/src/test/xmlent.c
@@ -76,6 +76,8 @@ int main (void)
 
     encode ("", "");
     encode ("a'àc\"çe&én<ño>ö1:", "a'àc"çe&én<ño>ö1:");
+    encode ("\x01\xC2\x81\xC2\x85", "\xC2\x85");
+    encode ("\r\n", "\r\n");
 
     return 0;
 }



More information about the vlc-commits mailing list