1 <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> 2 <html dir="LTR" lang="ja"> 3 <meta http-equiv="Content-Type" content="text/html; charset=EUC-JP"> 4 <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> 5 <!--EJRgAEg --> 6 <script> 7 if (window.layoutTestController) 8 layoutTestController.dumpAsText(); 9 document.write("Should be EUC-JP: " + (document.charset ? document.charset : document.characterSet));</script> 10