Here is simple code
PHP5 does not understand UTF-8 natively. It is proposed for PHP6, if it ever comes out.
Use the multibyte string functions to manipulate UTF-8 strings safely.
For instance, mb_substr() in your case.
mb_substr()