Don't assume byte length equality means ascii only

The string can still contain non ascii characters in the 128 - 255
range.