11cb0ef41Sopenharmony_ci<!-- starts with a UTF-8 BOM --> 21cb0ef41Sopenharmony_ci<!doctype html> 31cb0ef41Sopenharmony_ci<meta charset="windows-1252"> 41cb0ef41Sopenharmony_ci<script src=/resources/testharness.js></script> 51cb0ef41Sopenharmony_ci<script src=/resources/testharnessreport.js></script> 61cb0ef41Sopenharmony_ci<title>BOM handling</title> 71cb0ef41Sopenharmony_ci<div id=log></div> 81cb0ef41Sopenharmony_ci<script> 91cb0ef41Sopenharmony_ci 101cb0ef41Sopenharmony_citest( 111cb0ef41Sopenharmony_ci () => { 121cb0ef41Sopenharmony_ci assert_equals(document.characterSet.toLowerCase(), "utf-8"); 131cb0ef41Sopenharmony_ci }, 141cb0ef41Sopenharmony_ci "document.characterSet should match the BOM" 151cb0ef41Sopenharmony_ci); 161cb0ef41Sopenharmony_ci 171cb0ef41Sopenharmony_ci</script> 18