mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-08 01:36:57 +02:00
fix some bugs - hopefully not breaking anything...
git-svn-id: file:///svn/phpbb/trunk@6342 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -38,6 +38,7 @@ function utf8_strlen($text)
|
||||
return mb_strlen($text, 'utf-8');
|
||||
}
|
||||
|
||||
// Since utf8_decode is replacing multibyte characters to ? strlen works fine
|
||||
return strlen(utf8_decode($text));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user