From Java to Python
Pages
Home
Showing posts with label
encoding
.
Show all posts
Showing posts with label
encoding
.
Show all posts
Thursday, August 28, 2014
Python: get the length of a utf-8 encoded string
len(s.encode('utf-8'))
Older Posts
Home
Subscribe to:
Posts (Atom)