2 <script src=
"../../js-test-resources/js-test.js"></script>
4 description("Test that Latin-1 characters are ent to the server correctly.");
9 "Fake UTF-8: \xC3\x85",
11 "32-bit Character: \uD83D\uDCA9",
14 for (var i
= 0; i
< tests
.length
; ++i
) {
15 var xhr
= new XMLHttpRequest();
16 xhr
.open("POST", "/xmlhttprequest/resources/post-echo-as-utf-8.cgi", false);
18 shouldBe("xhr.responseText", "tests[" + i
+ "]");