summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Sidwell <andy@entai.co.uk>2008-08-11 07:32:06 +0000
committerAndrew Sidwell <andy@entai.co.uk>2008-08-11 07:32:06 +0000
commit077e4a9b2009ac12c5c716fd53e3f3f92fa6f0af (patch)
treeba7b4298991072167b657b5d6c00586d988305fb
parent7a388e8066a94775e3e744188e51ed86ed289c50 (diff)
downloadlibhubbub-077e4a9b2009ac12c5c716fd53e3f3f92fa6f0af.tar.gz
libhubbub-077e4a9b2009ac12c5c716fd53e3f3f92fa6f0af.tar.bz2
Add support for x-x-big5 and Windows-949, and tests to go with them from the overrides table.
svn path=/trunk/hubbub/; revision=5011
-rw-r--r--test/data/Aliases3
-rw-r--r--test/data/csdetect/overrides.dat15
2 files changed, 17 insertions, 1 deletions
diff --git a/test/data/Aliases b/test/data/Aliases
index db61ff1..8978ede 100644
--- a/test/data/Aliases
+++ b/test/data/Aliases
@@ -245,7 +245,7 @@ Ventura-Math 2022 csVenturaMath
Microsoft-Publishing 2023 csMicrosoftPublishing
Windows-31J 2024 csWindows31J
GB2312 2025 csGB2312 EUC-CN EUCCN CN-GB
-Big5 2026 csBig5 BIG-FIVE BIG-5 CN-BIG5 BIG_FIVE
+Big5 2026 csBig5 BIG-FIVE BIG-5 CN-BIG5 BIG_FIVE x-x-big5
windows-1250 2250 CP1250 MS-EE
windows-1251 2251 CP1251 MS-CYRL
windows-1252 2252 CP1252 MS-ANSI
@@ -287,6 +287,7 @@ CP874 3004 WINDOWS-874
#MACTHAI 3024 X-MAC-THAI MAC-THAI
#MACTURKISH 3025 X-MAC-TURKISH MAC-TURKISH
#MULELAO-1 3026
+CP949 3027 WINDOWS-949
# From Unicode Lib
ISO-IR-182 4000
diff --git a/test/data/csdetect/overrides.dat b/test/data/csdetect/overrides.dat
index 98f11fe..e4eb85c 100644
--- a/test/data/csdetect/overrides.dat
+++ b/test/data/csdetect/overrides.dat
@@ -1,4 +1,9 @@
#data
+<meta charset="EUC-KR">
+#encoding
+Windows-949
+
+#data
<meta charset="gb2312">
#encoding
GBK
@@ -24,6 +29,16 @@ Windows-1254
Windows-874
#data
+<meta charset="KS_C_5601-1987">
+#encoding
+Windows-949
+
+#data
<meta charset="TIS-620">
#encoding
Windows-874
+
+#data
+<meta charset="x-x-big5">
+#encoding
+Big5