How i can convert this (′) character to html entities using php?
<p>i want to make this character (′) html entity for storing in my database using php. I am using MySQL databse. I use 
<br /><br /></p>

<pre><code>$string = "HTML5′s placeholder Attribute";
$newStr = htmlspecialchars($string, ENT_QUOTES);
echo $newStr;
</code></pre>

<p>the above code prints the following</p>

<pre><code>HTML5&amp;acirc;?&amp;sup2;s placeholder Attribute 
</code></pre>

<p>Please tell me how i can make this (′) character an HTML entity </p>
