diff --git a/src/utils/utf8.php b/src/utils/utf8.php --- a/src/utils/utf8.php +++ b/src/utils/utf8.php @@ -288,13 +288,9 @@ * @return int The character length of the string. */ function phutil_utf8_strlen($string) { - if (function_exists('utf8_decode')) { - return strlen(utf8_decode($string)); - } return count(phutil_utf8v($string)); } - /** * Find the console display length of a UTF-8 string. This may differ from the * character length of the string if it contains double-width characters, like