[Python-Dev] UTF-16 code point comparison

Bill Tutt billtut@microsoft.com
Thu, 27 Jul 2000 06:55:59 -0700


Fredrik wrote:
> since we don't really support surrogates (or anything else
> related to 32-bit unicode) anywhere else, I'd rather change
> CPython to emulate JPython here.

That's not entirely true. UTF-8 encoding supports surrogates.
No reason that we couldn't put the code into a unicode helper function
module. If I get a chance to finish my port of the simple Unicode
compression thing that'll support surrogates as well. 

We're eventually going to need one of these anyway for additional Unicode
related algorithms. Collation, etc...

Bill