I am struggled with this problem.
Let me resume whats going on.
I want to replicate the submit of a form hosted on a external site. But when I get the response, I get question marks "?" where there is supose to be characters with accents.
Let me be more explicit.
1) Check the site (I did not build it):
Its in spanish, but let me guide you.
You can see a form , in the combo box, select "Asunto", and in the "N°" textbox, insert "1234/2016" and then click "Consultar" button.
after that you can see the result, and you can perfectly see the "accent characters" like á é , etc.
.... Now ... I am trying to replicate that from my software.
I replicate the submit using Jquery/Ajax call, and I did it, I can get the results and everything, ... BUT, the accent characters are shown as "?" question marks like (from chrome dev tools):
The javascript code used to make the call is ..
var ajaxCall4 = $.ajax({
url: '<*the url provided at the beggining*>',
type:'POST',
data:{
expediente_numero: _valores.expediente_numero,
expediente_codigo: _valores.expediente_codigo,
expediente_ano: _valores.expediente_ano,
documentacion_tipo_id: _valores.documentacion_tipo_id,
documentacion_id: _valores.documentacion_id ,
B1:'Consultar'
},
timeout: 5000
});
I am totally lost on this, I tried setting the contentType explicitly, but doesnt work, I need your help.
Checkout and example execution from the Advanced REST client Extension in chrome..
IN ADITION.
*I the HTML file that displays the results I have the
*The results obtained from the ajax request, are "append" to a "table" tag adding new rows.