PHP euro symbol htmlentities
<pre><code>$string = 'ab!:;c+12,.3 €def-x/';
$string = preg_replace('/[^a-zA-Z0-9\s€+-]+/', '', $string);
$val=htmlentities($string, ENT_NOQUOTES, );
echo $string,"\n";
</code></pre>

<p>Echos</p>

<pre><code>abc+123 �def-x
</code></pre>

<p>And not </p>

<pre><code>abc+123 €def-x
</code></pre>

<p>I need to get the Euro symbol through a Regex and into the database but not as the Euro symbol.</p>
