Closed
Bug 1341260
Opened 7 years ago
Closed 7 years ago
XMLHttpRequest text decoding does not BOM sniff appropriately
Categories
(Core :: DOM: Core & HTML, defect, P2)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
DUPLICATE
of bug 1070763
People
(Reporter: annevk, Unassigned)
References
(Blocks 1 open bug)
Details
See https://github.com/w3c/web-platform-tests/pull/4935. It seems like we ignore UTF-16 BOMs for text/plain and decode as UTF-8 instead. That's wrong. The EOF issue decoders also bites us here.
Reporter | ||
Comment 1•7 years ago
|
||
XMLHttpRequest/send-receive-utf16.htm might also be affected.
Comment 2•7 years ago
|
||
Henri, is this something you could take?
Flags: needinfo?(hsivonen)
Priority: -- → P2
Duplicate of bug 1070763. Waiting for encoding_rs to land, because this would be annoying to fix without the facilities provided by encoding_rs (in particular, streaming BOM sniffing baked into the decoders themselves).
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(hsivonen)
Resolution: --- → DUPLICATE
Assignee | ||
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•