0xe2 unicode code example Example: Exception: 'ascii' codec can't decode byte 0xe2 in position 7860: ordinal not in range(128) f = open(file_path, 'r+', encoding="utf-8")