<html xmlns="http://www.w3.org/1999/xhtml"> <body> <p>Test default XHTML encoding (in the absence of an XML declaration).</p> <p id="result" /> <script> if (window.layoutTestController) layoutTestController.dumpAsText(); document.getElementById("result").innerHTML = "Charset: " + (document.charset ? document.charset : document.characterSet) + " (should be UTF-8)"; </script> </body> </html>