Fix non-unicode string len