Golang check if string is utf 8. If the string is ASCII, random access is O(1).

Golang check if string is utf 8. A string may be empty, but // not nil.