I got the impression that the internal encoding Python chooses for a string is an implementation detail you shouldn&#x27;t (and cannot) care about. All the public ways if accessing string contents operate on code points, unless you convert the string to a byte array first.