Previously, the XML document loading paths used the HTML encoding sniffing algorithm to determine character encoding. After the chardetng integration, this algorithm could return a non-UTF-8 encoding for XML documents that did not specify a charset, causing non-ASCII UTF-8 content to be decoded incorrectly. We now use BOM sniffing and default to UTF-8, per the XML specification. |
||
|---|---|---|
| .. | ||
| CDATASection-PI-Comment-Nodes.xhtml | ||
| non-ascii-utf8-encoding.xhtml | ||
| parse-without-xmlns.html | ||
| script-execution.xhtml | ||