strlen to mb_strlen with ASCII charset to avoid binary string wrong length calculation