XHR runs encoding detection on the response body if - The response type is "json", and - The response body has BOM. This is a spec violation. The requires us to always use UTF8 when the response type is "json" in https://xhr.spec.whatwg.org/#dom-xmlhttprequest-response.
Status in Chromium
Enabled by default (tracking bug)
Consensus & Standardization
Last updated on 2021-06-17