Setting header to Content-Type: application/json
I got response clearly in iso-8859-1
in all browsers. The default_charset
is set to utf-8
. Adding charset=utf-8
fixes the problem, but I don't understand why do I have to set the charset if an application/json
default charset is utf-8
.