Accessing chars in multibyte string php
<p>I have mbstring.func_overload = 7 and using UTF-8. Everything works fine but this not:</p>

<pre><code>$str = "ãçéíõ";
echo $str[0];
</code></pre>

<p>It prints a question mark in the browser.</p>

<p>This instead works normally:</p>

<pre><code>echo substr($str,0,1);
</code></pre>

<p>Someone knows why?</p>
