summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/encoding/japanese-encoding-mix.html
blob: 7d9403b3995c437c0c63b986cd72eca571e064ca (plain)
1
2
3
4
5
6
7
8
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>