My Tech Notes
Python: get the length of a utf-8 encoded string
len(s.encode('utf-8'))
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment