Re: [whatwg/fetch] Should Body.formData() always strip the BOM? (#650)

It seems the specification does strip the BOM (it invokes https://encoding.spec.whatwg.org/#utf-8-decode not https://encoding.spec.whatwg.org/#utf-8-decode-without-bom), but @hsivonen doesn't think it should (and I tend to agree). Usually BOM stripping only makes sense if it's at the start of some resource.

I'll create a patch to make the specification invoke the UTF-8 decode algorithm without BOM stripping. Can you ensure the test is changed?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/650#issuecomment-507654923

Received on Tuesday, 2 July 2019 12:28:40 UTC