1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 <html lang="ja" dir="ltr" xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja"> 3 <head> 4 5 6 7 <HTML> 8 <HEAD> 9 <TITLE></TITLE> 10 </HEAD> 11 12 <BODY> 13 <script type="text/javascript"><!-- 14 var ID="100099131"; 15 var AD=1; 16 var FRAME=0; 17 // --></script> 18 <script src="about:blank" type="text/javascript"></script> 19 <noscript> 20 <a href="http://w1.ax.xrea.com/c.f?id=100099131" target="_blank"><img src="about:blank" alt="AX" border="0"></a> 21 </noscript> 22 23 24 25 <meta http-equiv="Content-Type" content="text/html; charset=EUC-JP" /> 26 </head> 27 <body> 28 29 <p>Test a particular example of broken markup that was making us ignore a charset declaration.</p> 30 <script> 31 if (window.layoutTestController) 32 layoutTestController.dumpAsText(); 33 34 var charset = document.characterSet; 35 if (!charset) 36 charset = document.charset; 37 if (!charset) 38 charset = document.inputEncoding; 39 document.write("Encoding: " + charset + " (should be EUC-JP)"); 40 </script> 41 </body> 42 </html> 43