[Webkit-unassigned] [Bug 197369] JSON displayed with wrong encoding (i.e. not unicode)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Apr 29 10:59:29 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=197369
Alexey Proskuryakov <ap at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ap at webkit.org
--- Comment #2 from Alexey Proskuryakov <ap at webkit.org> ---
In my testing, loading the link via XMLHttpRequest does default to application/json, it's only loading into mail frame that uses default encoding. Which is arguably inconsistent, but not very much so, as the content is handled as text/plain in this case.
Is loading JSON into the main frame something that Spring MVC does? Or is there some other scenario where a real website or framework is affected?
<meta charset="windows-1251">
<script>
var x = new XMLHttpRequest;
x.open("GET", "http://thax.hardliners.org/issue438464.php?json=1");
x.onload = function() { alert(x.response); }
x.send();
</script>
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190429/20158e6d/attachment.html>
More information about the webkit-unassigned
mailing list