I am having problems with a json response containing special characters. In my code I have request like this:
const headers = new HttpHeaders({'Content-Type':'application/json; charset=utf-8'});
this.HttpClent.get<any>(my_url, {headers})
.subsrcibe(res => console.log(res));
If I look at the preview in my navigator (Firefox or Chrome give the same result) I have this:
but the console.log give me this:
As you can see all the special characters, that were correctly displayed in the preview, are now broken in the object obtained from the response.
Any idea?