summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/data/csdetect/INDEX1
-rw-r--r--test/data/csdetect/overrides.dat29
2 files changed, 30 insertions, 0 deletions
diff --git a/test/data/csdetect/INDEX b/test/data/csdetect/INDEX
index 315ce6a..f873854 100644
--- a/test/data/csdetect/INDEX
+++ b/test/data/csdetect/INDEX
@@ -8,3 +8,4 @@ test-yahoo-jp.dat Yahoo! Japan, from html5lib testcases
tests1.dat Assorted tests, including edge cases, from html5lib
tests2.dat Further tests from html5lib
regression.dat Regression tests
+overrides.dat Character encoding overrides from 8.2.2.2.
diff --git a/test/data/csdetect/overrides.dat b/test/data/csdetect/overrides.dat
new file mode 100644
index 0000000..98f11fe
--- /dev/null
+++ b/test/data/csdetect/overrides.dat
@@ -0,0 +1,29 @@
+#data
+<meta charset="gb2312">
+#encoding
+GBK
+
+#data
+<meta charset="gb2312-80">
+#encoding
+GBK
+
+#data
+<meta charset="iso-8859-1">
+#encoding
+Windows-1252
+
+#data
+<meta charset="iso-8859-9">
+#encoding
+Windows-1254
+
+#data
+<meta charset="iso-8859-11">
+#encoding
+Windows-874
+
+#data
+<meta charset="TIS-620">
+#encoding
+Windows-874