title: Why is loadURIWithFlags not using the charset that I'm passing to it?
body: <p>I have an HTML document stored in a file, with a UTF-8 encoding, and I want my extension to display this file in the browser, so I call <code>loadURIWithFlags('file://' + file.path, flags, null, 'UTF-8', null);</code> but it loads it as ISO-8859-1 instead of UTF-8. (I can tell because ISO-8859-1 is selected on the View>Character Encoding menu, and because non-breaking-space characters are showing up as an <code>Â</code> followed by a space. If I switch to UTF-8 using the Character Encoding menu, then everything looks right.)</p>
  
  <p>I tried including <code>LOAD_FLAGS_BYPASS_CACHE</code> and <code>LOAD_FLAGS_CHARSET_CHANGE</code> in the flags but that didn't seem to have any effect. I also checked that auto-detect was turned off, so that wasn't the problem either. Adding <code>&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;</code> to the document seems to have solved the problem, but I would expect that using the 'charset' argument of <code>loadURIWithFlags</code> should work just as well, so I'm wondering if I did something wrong in my initial attempt.</p>