summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/encoding/invalid-UTF-8.html
diff options
context:
space:
mode:
Diffstat (limited to 'LayoutTests/fast/encoding/invalid-UTF-8.html')
-rw-r--r--LayoutTests/fast/encoding/invalid-UTF-8.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/LayoutTests/fast/encoding/invalid-UTF-8.html b/LayoutTests/fast/encoding/invalid-UTF-8.html
new file mode 100644
index 0000000..ca8a9b1
--- /dev/null
+++ b/LayoutTests/fast/encoding/invalid-UTF-8.html
@@ -0,0 +1,19 @@
+<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>
+<p>This tests the rendering of invalid UTF-8 sequences.</p>
+<p>The output should be: "т??т" (with black diamonds in place of question marks).</p>
+<hr>
+<p>т��т</p>
+</body>
+</html>