use mb_substr() instead of substr() =]