2016-12-14 | Paul Boddie | raw annotate files changeset graph | Added a UTF-8 character counting native function to support the __len__ method on Unicode objects, introducing a bytelength method on strings so that byte-level operations, such as conversion between encodings, can still work with Unicode objects (since __len__ returning characters would be inappropriate for such purposes). |