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

3 lines
82 B
Python
Raw Permalink Normal View History

2014-01-17 05:32:22 +00:00
print(len(b'\xd7\x90'.decode('utf-8'))) # Alef encoded as utf-8 byte sequence
# 1