summaryrefslogtreecommitdiff
path: root/test/data/cscodec-utf8
diff options
context:
space:
mode:
authorJohn Tytgat <joty@netsurf-browser.org>2008-06-28 20:57:47 +0000
committerJohn Tytgat <joty@netsurf-browser.org>2008-06-28 20:57:47 +0000
commit5aa01bdb330f82e7bc3756ac18fd47d137059ce4 (patch)
treedfbb28d786259a30f5e8d5db6522f3278c8ba80b /test/data/cscodec-utf8
parent5784a7659386a8681445d85837a70b45ed7d6968 (diff)
downloadlibparserutils-5aa01bdb330f82e7bc3756ac18fd47d137059ce4.tar.gz
libparserutils-5aa01bdb330f82e7bc3756ac18fd47d137059ce4.tar.bz2
- parserutils_charset_utf16_to_ucs4(): fixed surrogate handling.
- cscodec-utf8.c(run_test): Added more asserts. - Added UTF-16 tester (based on the UTF-8 one). svn path=/trunk/libparserutils/; revision=4472
Diffstat (limited to 'test/data/cscodec-utf8')
-rw-r--r--test/data/cscodec-utf8/INDEX6
-rw-r--r--test/data/cscodec-utf8/UTF-8-test.txtbin0 -> 41013 bytes
-rw-r--r--test/data/cscodec-utf8/simple.datbin0 -> 1109 bytes
3 files changed, 6 insertions, 0 deletions
diff --git a/test/data/cscodec-utf8/INDEX b/test/data/cscodec-utf8/INDEX
new file mode 100644
index 0000000..d6d338a
--- /dev/null
+++ b/test/data/cscodec-utf8/INDEX
@@ -0,0 +1,6 @@
+# Index file for charset codec tests
+#
+# Test Description
+
+simple.dat Simple tests, designed to validate testdriver
+UTF-8-test.txt Markus Kuhn's UTF-8 decoding test file
diff --git a/test/data/cscodec-utf8/UTF-8-test.txt b/test/data/cscodec-utf8/UTF-8-test.txt
new file mode 100644
index 0000000..920e54e
--- /dev/null
+++ b/test/data/cscodec-utf8/UTF-8-test.txt
Binary files differ
diff --git a/test/data/cscodec-utf8/simple.dat b/test/data/cscodec-utf8/simple.dat
new file mode 100644
index 0000000..3e2c7ae
--- /dev/null
+++ b/test/data/cscodec-utf8/simple.dat
Binary files differ