This test suite was converted from http://www.hixie.ch/tests/adhoc/html/parsing/encoding/all.html

The suite has been broken up to run the tests in smaller batches.

Expected failures:
56, 57, 58, 59 - we do not run scripts during encoding detection phase and parser treats meta inside a script as text, not a tag.
60 - parser treats meta inside style as text, not a tag.
97, 99, 102 - we do not run scripts during encoding detection.
Status: Tests ran.

Serious failures:

test 097: expected Windows-1254; used Windows-1252
<!DOCTYPE HTML>
<script>document.write(atob('PG1ldGEgaHR0cC1lcXVpdj0iQ29udGVudC1UeXBlIiBjb250ZW50PSJ0ZXh0L2h0bWw7Y2hhcnNldD1JU08tODg1OS05Ij4='))</script>
test 099: expected Windows-1252; used Windows-1254
<!DOCTYPE HTML>
<script>document.write(atob('PG1ldGEgaHR0cC1lcXVpdj0iQ29udGVudC1UeXBlIiBjb250ZW50PSJ0ZXh0L2h0bWw7Y2hhcnNldD1JU08tODg1OS0xIj4='))</script>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-9">
(Tests are considered to pass even if they treat Win1254 and ISO-8859-4 as separate.)


