[Python-ideas] string codes & substring equality
Nick Coghlan
ncoghlan at gmail.com
Thu Nov 28 14:32:34 CET 2013
On 28 November 2013 23:22, Paul Moore <p.f.moore at gmail.com> wrote:
> My eyes glaze over at this level of Unicode, but shouldn't you be
> looking at the stuff in the unicodedata module? And possibly even some
> external 3rd party Unicode handling modules (if they exist)? I didn't
> think that Python handled the fancier levels of Unicode normalisation,
> collation, etc, as part of the native string type. Or ever claimed to.
We don't - even in Python 3, strings are still just sequences of code
points, not characters, graphemes or glyphs. And let's not even get
into the implications of bidirectional text :)
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
More information about the Python-ideas
mailing list