Hello
I'm a starting on AJAX and I'm having a problem that I can't solve.
I have a .htm file with a form that calls a javascript file that in turn calls a .asp file to insert a new record on a SQL table:
default.htm -> file.js -> file.asp
The form as a text input object where I write the name of a new user and my problem is with accents like õ or ã.
The file.js receives the name of the user correctly. The problem is when it sends the name to the file.asp. It does it like this:
xmlHttp.open("GET","file.asp?q=joão&sid="+Math.random(),true);
on the asp file the line:
response.write( Request.QueryString("q"))
shows me the following on the screen: jo?
instead of joão as it should.
On the asp file I've already add a line like this to try to solve the problem but with no luck:
Response.Charset="ISO8859-1"
Can anyone help me?
many thanks
I'm a starting on AJAX and I'm having a problem that I can't solve.
I have a .htm file with a form that calls a javascript file that in turn calls a .asp file to insert a new record on a SQL table:
default.htm -> file.js -> file.asp
The form as a text input object where I write the name of a new user and my problem is with accents like õ or ã.
The file.js receives the name of the user correctly. The problem is when it sends the name to the file.asp. It does it like this:
xmlHttp.open("GET","file.asp?q=joão&sid="+Math.random(),true);
on the asp file the line:
response.write( Request.QueryString("q"))
shows me the following on the screen: jo?
instead of joão as it should.
On the asp file I've already add a line like this to try to solve the problem but with no luck:
Response.Charset="ISO8859-1"
Can anyone help me?
many thanks