ord() doesn't work with utf-8
<p>according to ISO 8859-1 </p>

<p>€ Symbol has decimal value 128</p>

<p>My default php script encoding is</p>

<pre><code>echo mb_internal_encoding(); //ISO-8859-1
</code></pre>

<p>So now as PHP</p>

<pre><code>echo chr(128);  //Output exactly what i want '€'
</code></pre>

<p>But</p>

<pre><code>echo ord('€');  //opposite it returns 226, it should be 128
</code></pre>

<p>why it is so?</p>