switched to  multibyte length function (mb_strlen)

Signed-off-by: Tom Schlick <tom@tomschlick.com>