haikuwebkit/LayoutTests/fast/encoding/invalid-UTF-8-2.html

24 lines
543 B
HTML
Raw Permalink Blame History

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style>
/* Force font fallback on Windows to match Mac OS X */
@font-face {
font-family: 'times';
src: local('Lucida Grande');
unicode-range: U+FFFD;
}
</style>
</head>
<body>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
<p>This tests the decoding of invalid UTF-8 sequences.</p>
The following should be: "т<><D182>т <20><><EFBFBD>" or "т<><D182>т <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>":
<p>т<EFBFBD><EFBFBD>т <20><><EFBFBD></p>
</body>
</html>