Closed c2nprds closed 3 years ago
Hi @c2nprds,
So what does this fix / improve exactly? It'd be nice to have some context :P
Edit: please disregard my comment above, I had just woken up haha. Just checked your PR, looks good to me. Will do some tests after breakfast and if everything's alright will merge changes into master right away. Thanks for contributing! :)
use
mb_strlen
andmb_substr
method. check length of string is safe multi-byte safe.ref: https://www.php.net/manual/en/function.mb-strlen.php ref: https://www.php.net/manual/en/function.mb-substr.php