[Python-Dev] PEP 393 Summer of Code Project

Greg Ewing greg.ewing at canterbury.ac.nz
Sat Aug 27 02:34:48 CEST 2011


M.-A. Lemburg wrote:
> Simply going with UCS-4 does not solve the problem, since
> even with UCS-4 storage, you can still have surrogates in your
> Python Unicode string.

Yes, but in that case, you presumably *intend* them to
be treated as separate indexing units. If you didn't,
there would be no need to use surrogates in the first
place.

-- 
Greg


More information about the Python-Dev mailing list