summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2022-12-04 23:01:00 +0100
committerNick Wellnhofer <wellnhofer@aevum.de>2022-12-04 23:34:19 +0100
commit76c6da420923f2721a2e16adfcef8707a2454a1b (patch)
tree0994905c66a72034318b3fdcb4e696e14ec3a04f /test
parent4b959ee1680e2ffbf49cd260cbef08f94e0ab6b0 (diff)
downloadlibxml2-76c6da420923f2721a2e16adfcef8707a2454a1b.tar.gz
error: Make sure that error messages are valid UTF-8
This has caused issues with the Python bindings for a long time. Should fix #64.
Diffstat (limited to 'test')
-rw-r--r--test/errors/utf8-1.xml1
-rw-r--r--test/errors/utf8-2.xml1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/errors/utf8-1.xml b/test/errors/utf8-1.xml
new file mode 100644
index 00000000..0481aa47
--- /dev/null
+++ b/test/errors/utf8-1.xml
@@ -0,0 +1 @@
+<d>Ä..............................................................................<<
diff --git a/test/errors/utf8-2.xml b/test/errors/utf8-2.xml
new file mode 100644
index 00000000..190c7f81
--- /dev/null
+++ b/test/errors/utf8-2.xml
@@ -0,0 +1 @@
+<d>.<<€€€€€€€€€€€€€€€€€€€€€€€€€