$.ajax - Issue with special characters (accents and ñ)
Hi,
I execute the below function but when I get the string in TEST_JSON procedure (procedure un PL/SQL) the special characters arrive corrupted. My backend is IAS + mod_plsql with Oracle 10G R2 database (NLS_LANG = SPANISH_SPAIN.WE8ISO8859P1).
Where is the problem in the database or in $.ajax configuration?
Any help will be much appreciated !!
Thanks in advance.
$.ajax({
url: "TEST_JSON",
type: "post",
contentType: "text/html; charset=UTF-8",
data: {
P_DATA: "special characters áéíóú ññ "
},
success: function(response) {
console.log(response.dato);
}
});
}