[Python-Dev] Python-3.0, unicode, and os.environ (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Dec 8 00:42:50 CET 2008


Nick Coghlan wrote:

For binary wrappers around the Windows Unicode APIs, I was thinking specifically of using UTF-8, since that should be able to encode anything the Unicode APIs can handle.

Why shouldn't the binary interface just expose the raw utf16 as bytes?

-- Greg



More information about the Python-Dev mailing list