Flexible string representation, unicode, typography, ...

Neil Hodgson nhodgson at iinet.net.au
Mon Aug 27 19:54:43 EDT 2012


wxjmfauth at gmail.com:

> Go "has" the integers int32 and int64. A rune ensure
> the usage of int32. "Text libs" use runes. Go has only
> bytes and runes.

     Go's text libraries use UTF-8 encoded byte strings. Not arrays of 
runes. See, for example,
http://golang.org/pkg/regexp/

    Are you claiming that UTF-8 is the optimum string representation and 
therefore should be used by Python?

    Neil



More information about the Python-list mailing list