__unicode_idx__
- :
idx =__unicode_idx__(str)¶ Return, for each byte of the UTF-8 string str, the number of the character it belongs to. Each byte of an invalid sequence is a character of its own.
__unicode_idx__idx = __unicode_idx__ (str) ¶Return, for each byte of the UTF-8 string str, the number of the character it belongs to. Each byte of an invalid sequence is a character of its own.