diff options
author | ot <ot@localhost> | 2007-05-07 15:05:15 +0000 |
---|---|---|
committer | ot <ot@localhost> | 2007-05-07 15:05:15 +0000 |
commit | 5de3f421ca5968214a457e0b55ee2f65b949cf9a (patch) | |
tree | 8d5042b696c64a059cc1b34a59cd177f9390a097 /htdocs/dev/tests | |
parent | af08d5b59a47e9d59c165ece3c488bd598fc7401 (diff) | |
download | markup-validator-5de3f421ca5968214a457e0b55ee2f65b949cf9a.zip markup-validator-5de3f421ca5968214a457e0b55ee2f65b949cf9a.tar.gz markup-validator-5de3f421ca5968214a457e0b55ee2f65b949cf9a.tar.bz2 |
test for iso-9959-1 files, with and without declaration of charset in meta
Diffstat (limited to 'htdocs/dev/tests')
-rw-r--r-- | htdocs/dev/tests/.htaccess | 4 | ||||
-rw-r--r-- | htdocs/dev/tests/4520-iso88591-meta.html | 14 | ||||
-rw-r--r-- | htdocs/dev/tests/4520-iso88591-no_meta.html | 13 |
3 files changed, 31 insertions, 0 deletions
diff --git a/htdocs/dev/tests/.htaccess b/htdocs/dev/tests/.htaccess index 17a41d3..04c80dc 100644 --- a/htdocs/dev/tests/.htaccess +++ b/htdocs/dev/tests/.htaccess @@ -9,6 +9,10 @@ RemoveCharset .html <Files ~ "textxml_nocharset(\.xml)?"> ForceType text/xml </Files> +<FilesMatch 4520-iso88591.*> +RemoveCharset .html +# use charset in meta +</Files> <Files 1574-charset_iso_8859_7_greek.html> RemoveCharset .html # use charset in meta diff --git a/htdocs/dev/tests/4520-iso88591-meta.html b/htdocs/dev/tests/4520-iso88591-meta.html new file mode 100644 index 0000000..e666d1e --- /dev/null +++ b/htdocs/dev/tests/4520-iso88591-meta.html @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> +<html lang="en"> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <title>html401-strict</title> + <meta name="author" content="olivier Thereaux"> + <!-- Date: 2007-03-07 --> +</head> +<body> +<p>Sample HTML 4.01 Strict document encoded in iso-8859-1, with charset declared in meta http-equiv.</p> +<p>àccentuatéd characters</p> + +</body> +</html> diff --git a/htdocs/dev/tests/4520-iso88591-no_meta.html b/htdocs/dev/tests/4520-iso88591-no_meta.html new file mode 100644 index 0000000..4bc7c3c --- /dev/null +++ b/htdocs/dev/tests/4520-iso88591-no_meta.html @@ -0,0 +1,13 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> +<html lang="en"> +<head> + <title>html401-strict</title> + <meta name="author" content="olivier Thereaux"> + <!-- Date: 2007-03-07 --> +</head> +<body> +<p>Sample HTML 4.01 Strict document encoded in iso-8859-1, with charset declared in meta http-equiv.</p> +<p>àccentuatéd characters</p> + +</body> +</html> |