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<!--�E�J�����R�����g�A�E�g �������� --> 6<script> 7if (window.layoutTestController) 8 layoutTestController.dumpAsText(); 9document.write("Should be EUC-JP: " + (document.charset ? document.charset : document.characterSet));</script> 10