Fix new strwidth function

It tried to work on high character in pair and also counted low one.