https://github.com/phpbb/phpbb/blob/mas ... s.php#L115
That's phpBB's
utr8_strlen()
.
Code: Select all
/**
* Return the length (in characters) of a UTF-8 string
* @ignore
*/
function utf8_strlen($text)
{
return mb_strlen($text, 'utf-8');
}
So, should
[b]hello[/b]
be: 5 or 12?And should the count be available during posting below/besides the textarea, or only after the post was submitted?