compare if with hebrew letter
<p>I write code that work only with english letters. when I ctry to do it with hebrew letter I get error.</p>

<p>the code:</p>

<pre><code>&lt;?php
$idan="emr";
$firstletter = mb_substr($idan, 0, 1, 'UTF-8');
if ($firstletter=='e') 
echo "tov";
else echo "lo tove";
?&gt;
</code></pre>

<p>work good.
but the code:</p>

<pre><code>&lt;?php
$idan="אבהבה";
$firstletter = mb_substr($idan, 0, 1, 'UTF-8');
if ($firstletter=='א') 
echo "tov";
else echo "lo tove";
?&gt;
</code></pre>

<p>not work, How I can to fix it?</p>
