title: Detecting character encoding in HTML
body: <p>I download an HTML page. The HTTP content-type header specifies one character encoding, and the page has a <code>meta</code> tag that specifies another. What's the correct way to handle that? </p>
  
  <p>I guess 'correct' isn't the right word, since nobody follows the damn standards anyway... so what's the way that will cause me the least problems?</p>