Use mb_strlen() instead of static method call. Closes #409.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>