<p><pre><code>    In [1]: len(&quot;नि&quot;)
    Out[1]: 2

</code></pre>
So close, but it&#x27;s not really a string or bytes, but a codepoint array. You can even iterate it:<p><pre><code>    In [2]: for c in &quot;नि&quot;:
       ...:     print(&quot;Character {}&quot;.format(c))
       ...:     
    Character न
    Character ि</code></pre>