Should use `mb_strlen` and consider encoding.