public static function strpos($haystack, $needle, $offset = 0)
    {
        if (function_exists('mb_strpos')) {
            return mb_strpos($haystack, $needle, $offset, 'utf-8');
        }
        return strpos($haystack, $needle, $offset);
    }