Home | History | Annotate | Download | only in encoding
      1 <html>
      2 <head>
      3 		<title>
      4 Yahoo! Mail - someone (a] yahoo.com</title>
      5 </head>
      6 <body>
      7 
      8 <div id=yiv1034332614><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
      9 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html
     10 ><head><meta http-equiv="content-type"
     11  content="text/html; charset=UTF-8"/></head>
     12 
     13 <p>Test a particular example of broken markup that was making us ignore a charset declaration.</p>
     14 <script>
     15   if (window.layoutTestController)
     16     layoutTestController.dumpAsText();
     17 
     18   var charset = document.characterSet;
     19   if (!charset)
     20     charset = document.charset;
     21   if (!charset)
     22     charset = document.inputEncoding;
     23   document.write("Encoding: " + charset + " (should be UTF-8)");
     24 </script>
     25 </body>
     26 </html>
     27