title: How to convert String with â€œ (ISO-8859-1) characters to normal (UTF-8)characters?
body: <pre><code>&lt;li&gt;Jain R.K. and Iyengar S.R.K., â€œAdvanced Engineering Mathematicsâ€, Narosa Publications,&lt;/li&gt;
  </code></pre>
  
  <p>i have lot a raw html string in database. all the text have these weird characters. how can i convert to normal text for saving back it back in database. </p>
  
  <pre><code>$final = '&lt;li&gt;Jain R.K. and Iyengar S.R.K., â€œAdvanced Engineering Mathematicsâ€, Narosa Publications,&lt;/li&gt;';
  $final = utf8_encode($final);
  
  $final = htmlspecialchars_decode($final);
  
  $final = html_entity_decode($final, ENT_QUOTES, "UTF-8");
  
  $final = utf8_decode($final);
  
  echo $final;
  </code></pre>
  
  <p>i tried above code, it displays correctly in web browser but still saving the same weird characters in database.</p>
  
  <p>the charset of database is utf-8</p>