| <meta http-equiv="content-type" content="text/html; charset=utf-8"> |
| <title>Charsets and submitting forms</title> |
| <input type=hidden name=q value="ё𐐀𝄫çc"><br> |
| testRunner.waitUntilDone(); |
| if (document.URL.substring(0, 4) == "file") { |
| if (document.URL.indexOf('?') == -1) { |
| document.f.q.value += "\u0327"; // cedilla for 'c' |
| if (unescape(document.URL.substring(document.URL.indexOf('?')+1, document.URL.length)) == unescape("q=%D1%91%F0%90%90%80%F0%9D%84%AB%C3%A7%C3%A7")) |
| document.write("<p>Success</p>"); |
| document.write("<p>Failure</p>"); |
| document.write("<p>This test doesn't work directly from bugzilla, please save it to a local file first.</p>"); |