Is mb_strlen a suitable replacement for iconv_strlen

richardsgold

New Member
That is, if I'm coding something entirely in PHP4? Or perhaps I should use a custom function or class/extension instead to count the number of characters in a multibyte string?Only difference I can spot is that mb_string strips out bad sequences, while iconv_strlen doesn't.
 
Back
Top