Bug 11695 - XMLHttpRequest should be encoded accordingly to document.xmlEncoding
Summary: XMLHttpRequest should be encoded accordingly to document.xmlEncoding
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: XML (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-27 01:05 PST by Alexey Proskuryakov
Modified: 2023-03-26 02:17 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.