/src/main/java/org/htmlunit/html/HtmlPage.java
ignoreBom = false;
ignoreBom = true;
} } else if (ISO_8859_1 == contentCharset) { ignoreBom = true; } else { <extra_id_0> scriptEncoding = contentCharset; } final String scriptCode = response.getContentAsString(scriptEncoding, ignoreBom && getWebClient().getBrowserVersion().hasFeature(JS_IGNORES_UTF8_BOM_SOMETIMES)); if (null != scriptCode) {