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

Rémi Denis-Courmont git at videolan.org
Sun May 8 19:56:49 CEST 2011


vlc/vlc-1.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu May  5 12:07:19 2011 +0300| [2efce50bea3dbec64deadb25f86949f27e9a549b] | 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=2efce50bea3dbec64deadb25f86949f27e9a549b
---

 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