RosettaCodeData/Task/String-length/Python/string-length-13.py

3 lines
82 B
Python

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