mirror of
https://github.com/servo/servo
synced 2026-05-11 17:37:21 +02:00
XML documents do not use the "determine the encoding" algorithm. As far as I can tell, it is unspecified how they should determine the encoding instead. We now check the BOM, `Content-Type` header and prescan for an xml encoding declaration (but don't inherit encodings from iframes or attempt to determine the encoding from heuristics). Testing: New tests start to pass Part of https://github.com/servo/servo/issues/6414 --------- Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>