<head>
<meta charset="windows-1251">
<script>
function test()
{
    if (window.testRunner) {
        testRunner.dumpAsText();
        testRunner.waitUntilDone();
    }
    window.location.href="javascript:'<p foo=\"?\">Should be Cyrillic text, not U+FFFD REPLACEMENT CHARACTERS: </p><script>if (window.testRunner) testRunner.notifyDone()</scr" + "ipt>'";
}
</script>
</head>
<body onload="test()">
</body>
