Use ascii_only in other locations where we can use it

These places also allow for using a shortcut when we know the string is
ascii only.