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

3 lines
82 B
Python
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
print(len(b'\xd7\x90'.decode('utf-8'))) # Alef encoded as utf-8 byte sequence
# 1