'Fetch json with non ASCI characters like ü, chrome displays network displays correctly
I am using fetch native in chrome dev tools. In the response.json() the data of the job are received but non ascii characters ate bit displays correctly.
The network tab of chrome shows the characters correctly in the response body.
I have tried to set different headers of content type, UTF-8 and ISO-8891-1.
How can.I see how dev tools of chrome displays correctly the characters?
Solution 1:[1]
I finally solved it, I used native xhttpRequest and this native function
xhr.overrideMimeType("application/json;charset=iso-8859-1");
which I took from here:
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Community |
