[Python-3000] Unicode and OS strings
Greg Ewing
greg.ewing at canterbury.ac.nz
Fri Sep 14 06:00:56 CEST 2007
Stephen J. Turnbull wrote:
> What should
> happen internally is that all undecodable characters (which PUA
> characters are by definition for standard codecs) are mapped to unused
> codepoints in the PUA, chosen by Python.
You mean chosen dynamically? What happens if these PUA
characters get encoded some other way, written out, and
read back into another session? The information mapping
them back to their original meanings would no longer
be correct.
--
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury, | Carpe post meridiem! |
Christchurch, New Zealand | (I'm not a morning person.) |
greg.ewing at canterbury.ac.nz +--------------------------------------+
More information about the Python-3000
mailing list