encoding for mb_strlen #128