summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/encoding/japanese-encoding-mix.html
diff options
context:
space:
mode:
Diffstat (limited to 'LayoutTests/fast/encoding/japanese-encoding-mix.html')
-rw-r--r--LayoutTests/fast/encoding/japanese-encoding-mix.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/LayoutTests/fast/encoding/japanese-encoding-mix.html b/LayoutTests/fast/encoding/japanese-encoding-mix.html
new file mode 100644
index 0000000..7d9403b
--- /dev/null
+++ b/LayoutTests/fast/encoding/japanese-encoding-mix.html
@@ -0,0 +1,9 @@
+<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html dir="LTR" lang="ja">
+<meta http-equiv="Content-Type" content="text/html; charset=EUC-JP">
+<p>Some text here is encoded as EUC-JP, and some (in comment) as Shift_JIS. Since there is an explicit encoding declaration, auto-detection shouldn't change the encoding.</p><p>ニッポンテレビ</p>
+<!--EJRgAEg -->
+<script>
+if (window.layoutTestController)
+ layoutTestController.dumpAsText();
+document.write("Should be EUC-JP: " + (document.charset ? document.charset : document.characterSet));</script>