1
0 vote against Accept Friend, now it worked, but I was left with a doubt... Regarding the accentuation, he is not accepting accentuation.
I’ve tried the forms below, but there was no way:
var config = { headers : { 'Content-Type': 'application/json;charset=iso-8859-1' } };
var config = { headers : { 'Content-Type': 'application/json;charset=utf-8' } };
Begins by studying xmlhttprequest, ajax, and the module $http angular. In your case you will need to use the $http module to send the data to the php URL/route that will process it.
– Neuber Oliveira
Mine sends accentuated and everything. If you can send PHP so I can see how you’re getting it. But it should probably be some adjustment that should be done in PHP.
– Flavio Misawa