I'm having a problem with this function in specific:
$.post('classes/processPage.asp', {
param1: $('#hdnValue').val()
}
When I test this value on the processPage, it gives me wrong characters.
I've tried to include this:
$.ajaxSetup({contentType: "application/x-www-form-urlencoded;charset=ISO-8859-1"});
But it didn't work.
For information the encoding of the files (classic ASP pages) are ANSI, but I also have tried the UTF-8.
I have this meta tag included in the first page:
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
And this code in the processPage:
Response.Charset = "ISO-8859-1"
What am I missing?