3 <meta http-equiv=
"content-type" content=
"text/html; charset=utf-8">
4 <title>Charsets and submitting forms
</title>
7 <form action=
"?" name=f
>
8 <input type=hidden name=q
value=
"ё𐐀𝄫çc"><br>
11 if (window
.testRunner
) {
12 testRunner
.dumpAsText();
13 testRunner
.waitUntilDone();
16 if (document
.URL
.substring(0, 4) == "file") {
18 if (document
.URL
.indexOf('?') == -1) {
19 document
.f
.q
.value
+= "\u0327"; // cedilla for 'c'
23 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%A7c%CC%A7"))
24 document
.write("<p>Success</p>");
26 document
.write("<p>Failure</p>");
28 if (window
.testRunner
)
29 testRunner
.notifyDone();
34 document
.write("<p>This test doesn't work directly from bugzilla, please save it to a local file first.</p>");