From Java to Python
Pages
Home
Thursday, August 28, 2014
Python: get the length of a utf-8 encoded string
len(s.encode('utf-8'))
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment