Try to count utf-8 bytes correctly