views:

47

answers:

0

ajax(search suggest), if input funny character(like Ô) and submit it, "?" is displayed in *.asp. ( response.write (request.form("str")))

i am using

xmlhttp.open("post", "*****.asp", true);
xmlhttp.setRequestHeader('Content-type','application/x-www-form-urlencoded; charset=UTF-8');
xmlhttp.send("str="+escape($("str").value));

and there is <%@CODEPAGE=65001%> in *****.asp file

How can i get the correct word--- "Ô" in *****.asp