[Python-3000] UTF-16

Fredrik Lundh fredrik at pythonware.com
Fri Sep 1 08:49:38 CEST 2006

Guido van Rossum wrote:

> I think it would be best to do this as a CPython configuration option
> just like it's done today. You can choose 4-byte or 2-byte Unicode
> (essentially UCS-4 or UTF-16) in order to be compatible with other
> packages on the platform. Yes, 4-byte gives better Unicode support.
> But 2-bytes may be more compatible with other stuff on the platform.
> Too bad .NET and Java don't have this option. :-)

the UCS2/UCS4 linking problems is a minor pain in the ass, though. 
maybe this is best done via a run-time setting?


More information about the Python-3000 mailing list