1<html xmlns="http://www.w3.org/1999/xhtml"> 2<body> 3<p>Test default XHTML encoding (in the absence of an XML declaration).</p> 4 5<p id="result" /> 6 7<script> 8if (window.layoutTestController) 9 layoutTestController.dumpAsText(); 10 11document.getElementById("result").innerHTML = "Charset: " + 12 (document.charset ? document.charset : document.characterSet) + " (should be UTF-8)"; 13</script> 14 15</body> 16</html> 17