python non utf-8 chra exists in string code example Example: python is ascii 'mystring'.isascii() # true 'mÿstring'.isascii() #false