Bug 11695

Summary: XMLHttpRequest should be encoded accordingly to document.xmlEncoding
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: XMLAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: annevk
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   

Description Alexey Proskuryakov 2006-11-27 01:05:27 PST
This is what the draft spec says, what MSIE does, and what Firefox will do, according to <http://lists.w3.org/Archives/Public/public-webapi/2006Nov/0055.html>.

Currently, WebKit always encodes sent documents as UTF-8, and doesn't serialize the XML declaration, while Firefox also uses UTF-8, but sends an XML declaration with a potentially mismatched encoding.
Comment 1 Anne van Kesteren 2023-03-26 02:17:48 PDT
The specification enforces UTF-8 these days.