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

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


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

XML: test case for C0/C1 control codes encoding

(cherry picked from commit 9b1e7f3839c0a36059d425c81dd31851148e71ae)

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

 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