The issue is that currently it does `mb_strlen` w/o specifying encoding. It should be as in line 102.