[Python-3000] How will unicode get used?

"Martin v. Löwis" martin at v.loewis.de
Sat Sep 23 13:33:14 CEST 2006


Adam Olsen schrieb:
> Just a minor nit.  I doubt we could accept UCS-2, we'd want UTF-16
> instead, with all the variable-width goodness that brings in.

Sure we could; we can currently.

> Or maybe not so minor.  Old versions of windows used UCS-2, new
> versions use UTF-16.  The former should get errors if too high of a
> character is used, the latter will need conversion if we're not using
> UTF-16.

Define "used". Surrogate pairs work well in the NTFS of Windows NT 3.1;
no errors are reported.

Regards,
Martin


More information about the Python-3000 mailing list