[Python-Dev] 2.2 Unicode questions

Simon Cozens simon@netthink.co.uk
Thu, 19 Jul 2001 10:50:27 -0400

On Thu, Jul 19, 2001 at 10:46:45AM -0400, Guido van Rossum wrote:
> But isn't the whole point of UTF-16 to fool code that believes it's
> manipulating UCS-2 into a false sense of security? :-)

Well, sort of. More like fooling into a true sense of insecurity. :)

Anyway, the Standard sez that a conforming UCS-2 application will
not use characters in the surrogates area. Future versions of ISO10646
and the Unicode Standard will probably require UTF-16 instead of UCS-2.