| <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> |
| <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=%26%231105%3B%26%2366560%3B%26%23119083%3B%E7%E7")) |
| document.write("<p>Success</p>"); |
| document.write("<p>Failure, query is " + document.URL.substring(document.URL.indexOf('?')+1, document.URL.length) + "</p>"); |
| document.write("<p>This test doesn't work directly from bugzilla, please save it to a local file first.</p>"); |