- From: Philip Jägenstedt <notifications@github.com>
- Date: Thu, 02 Oct 2025 08:03:37 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 2 October 2025 15:03:41 UTC
foolip left a comment (whatwg/fetch#1861) On the encoding, matching `text()` means forcing UTF-8. That being said, a mode that respects the encoding in `Content-Type` seems like it would be less surprising than ignoring it. At this point such a mode (or an explicit encoding) would have to be an extra argument, which we should then give to both `text()` and `textStream()`. I don't have a strong view, but will note that because it's quite easy to work around with `.pipeThrough(new TextDecoderStream("big5"))` I think we probably wouldn't hear demands for this even if it was a nuisance that many people are working around. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/1861#issuecomment-3361625415 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/issues/1861/3361625415@github.com>
Received on Thursday, 2 October 2025 15:03:41 UTC