<?xml version="1.0" encoding="koi8-r"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<body>
<p>Test that external scripts in XHTML documents inherit document charset.</p>
<p id="result"></p>
<script type="text/javascript" src="external-script-charset-koi-8.js"></script>
</body>
</html>