title: Proper character encoding to display "&acirc;&#128;&#157;"?
body: <p>I'm having some nasty character encoding problems that I just can't figure out.</p>
  
  <p>Essentially, I'm screen scraping some HTML off of a site using PHP, then running it through PHP's DOMDocument to change out some URL's, etc., and when it's done, it outputs HTML with some weird things. Ex: where there should be an end quote, it puts out <code>&amp;acirc;&amp;#128;&amp;#157;</code></p>
  
  <p>I have the page's meta tag for charset set to <code>utf-8</code> but then the <code>&amp;acirc;&amp;#128;&amp;#157;</code> characters are showing up as <code>â€</code> on the site. I'm not sure if I just don't understand character encoding, or what.</p>
  
  <p>Any suggestions on the best way to resolve this? Something client side with a meta tag, or some kind of server-side PHP conversion?</p>