3 ms·
But has Python 3 Unicode-aware string-length rather than byte-length functions (+ substring, case-folding, character classification functions etc.) for dealing
by tannhaeuser 10y ago
But has Python 3 Unicode-aware string-length rather than byte-length functions (+ substring, case-folding, character classification functions etc.) for dealing with this? If it hasn't then nothing really is achieved for the general case by switching to 4-byte or any other fixed-byte unit, including the case of dealing with HTML 5 text.
See also perlgeek's question.
- jnbiche 10y agoYes, Python 3 does have Unicode-aware functions, as demonstrated in the post (via slices). Go and Rust also have very good Unicode support, in addition to Swift and (apparently) Perl 6 as mentioned above.