I need to do some string operations on $_SERVER
value especially $_SERVER['REQUEST_URI']
How PHP encodes such strings? Should I use mb_*
family functions?
To understand better my question, let's say I have a page on my webserver called like this:
ããã.php
And I need to get the second char:
echo mb_substr($_SERVER['REQUEST_URI'],1,1);