test #156: Define mb_strlen and mb_substr if they are not available natively