25 lines
501 B
HTML
25 lines
501 B
HTML
<html>
|
|
<head>
|
|
<testme:meta charset=windows-1252>
|
|
<meta charset=ISO-2022-JP>
|
|
</head>
|
|
<body>
|
|
This test checks that the charset sniffer ignores namespaced meta tags.
|
|
<pre id="log"></pre>
|
|
<script>
|
|
function log(message)
|
|
{
|
|
document.getElementById("log").innerText += message + "\n";
|
|
}
|
|
|
|
if (window.testRunner)
|
|
testRunner.dumpAsText();
|
|
|
|
if (document.inputEncoding == "ISO-2022-JP")
|
|
log("PASS: " + document.inputEncoding);
|
|
else
|
|
log("FAIL: " + document.inputEncoding);
|
|
</script>
|
|
</body>
|
|
</html>
|