Test:

<!DOCTYPE HTML>
<meta charset="ISO-8859-1">
<!-- Starts with UTF-8 BOM -->

Expected result: UTF-8

Encoding used by browser is: Script did not run.

Result: Script did not run.