Internationalization bug?? [Python 2.2.1, RedHat 8.0, Swedish]

Alex Martelli aleax at aleax.it
Sun Oct 13 09:04:35 EDT 2002


Paul Watson wrote:

> If len() returns the number of bytes, what can Urban Anjar use to get the
> number of characters?

len(unicode(funkistring, 'utf-8')) should work.


Alex




More information about the Python-list mailing list