title: How to convert accented chars to html in php?
body: <p>I have foreign language strings stored in utf8. When displaying them, I want them to be transform in such a way that accented chars become their html counterparts, e.g. <code>é</code> becomes <code>&amp;eacute;</code></p>
  
  <p>However I phrase my search, all I can find is <code>htmlentities()</code> which does not do it.</p>