Encoding of $_SERVER variables like $_SERVER['REQUEST_URI']
<p>I need to do some string operations on <code>$_SERVER</code> value especially <code>$_SERVER['REQUEST_URI']</code></p>

<p>How PHP encodes such strings? Should I use <code>mb_*</code> family functions?</p>

<p>To understand better my question, let's say I have a page on my webserver called like this:</p>

<pre><code>ããã.php
</code></pre>

<p>And I need to get the second char:</p>

<pre><code>echo mb_substr($_SERVER['REQUEST_URI'],1,1);
</code></pre>
