print(len(b'\xd7\x90'.decode('utf-8'))) # Alef encoded as utf-8 byte sequence # 1