2008-11-04 Anders Carlsson <andersca@apple.com>
[webkit/qt.git] / LayoutTests / fast / encoding / ahram-org-eg.html
blobd75cf067e12fc7998971f4469e451285c6c199cf
1 <htm>
3 <head>
4 <meta http-equiv="content-language" content="en-us">
5 <meta http-equiv='content-type' content='text/htm; charset=windows-1256'>
6 <script language="javascript">
7 if (navigator.appName == "Netscape")
9 document.write("<meta http-equiv='content-type' content='text/htm; charset=x-user-defined'>");
11 </script>
12 </head>
14 <body>
15 <p>Test a particular example of broken markup that was making us ignore a charset declaration.</p>
16 <script>
17 if (window.layoutTestController)
18 layoutTestController.dumpAsText();
20 var charset = document.characterSet;
21 if (!charset)
22 charset = document.charset;
23 if (!charset)
24 charset = document.inputEncoding;
25 document.write("Encoding: " + charset + " (should be windows-1256)");
26 </script>
27 </body>
28 </htm>