blob: c3c2fddb12e27e21f26811218b94361be07d7993 [file] [log] [blame]
<div class="moz-text-flowed" style="font-family: -moz-fixed">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
</head>
<body>
<p>Test a particular example of broken markup that was making us ignore a charset declaration.</p>
<script>
if (window.layoutTestController)
layoutTestController.dumpAsText();
var charset = document.characterSet;
if (!charset)
charset = document.charset;
if (!charset)
charset = document.inputEncoding;
document.write("Encoding: " + charset + " (should be Shift_JIS)");
</script>
</body>
</html>