summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-12-29 18:28:53 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-12-29 18:28:53 +0100
commit0dfa4d0d73eb4b8d0a24221ca1baeabdb473aa6d (patch)
treec5dfaef60cbcabbdd6e623671926909aa998cef2
parentFix a regression introduced by f8a2d38a (diff)
downloadrekonq-0dfa4d0d73eb4b8d0a24221ca1baeabdb473aa6d.tar.xz
charset static tests
-rw-r--r--src/tests/charset_ISO_8859_1.html12
-rw-r--r--src/tests/charset_NULL.html11
-rw-r--r--src/tests/charset_UTF_8.html12
3 files changed, 35 insertions, 0 deletions
diff --git a/src/tests/charset_ISO_8859_1.html b/src/tests/charset_ISO_8859_1.html
new file mode 100644
index 00000000..587a8bb5
--- /dev/null
+++ b/src/tests/charset_ISO_8859_1.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
+<title>Charset ISO-8859-1</title>
+</head>
+<body>
+CHARSET: ISO 8859 1<br />
+This document contains strange text: <br />
+Chinese text: ??, ????????? <br />
+</body>
+</html>
diff --git a/src/tests/charset_NULL.html b/src/tests/charset_NULL.html
new file mode 100644
index 00000000..6e5598fa
--- /dev/null
+++ b/src/tests/charset_NULL.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+<title>Charset NULL</title>
+</head>
+<body>
+CHARSET: NULL<br />
+This document contains strange text: <br />
+Chinese text: ??, ????????? <br />
+</body>
+</html>
diff --git a/src/tests/charset_UTF_8.html b/src/tests/charset_UTF_8.html
new file mode 100644
index 00000000..cc63d0e1
--- /dev/null
+++ b/src/tests/charset_UTF_8.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+<meta content="text/html; charset=utf8" http-equiv="content-type">
+<title>Charset UTF-8</title>
+</head>
+<body>
+CHARSET: UTF-8<br />
+This document contains strange text: à è ì ò ù <br />
+Chinese text: 激光, 這兩個字是甚麼意思 <br />
+</body>
+</html>