[Python-3000] [Python-Dev] Filename as byte string in python 2.6 or 3.0?

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Fri Oct 10 15:31:22 CEST 2008


2008/10/10 Terry Reedy <tjreedy at udel.edu>:

> If FOOTR is using PUA chars, then I believe that users should not be
> providing such a stream as it would have no defined meaning coming from
> them.

PUA already has a UTF-8 representation, so this is the worst choice
among UTF-8b and U+0000 which do preserve the encoding of all existing
UTF-8 filenames. I am using bits of PUA (although not for filenames
for now) and I would be annoyed if Python mangled them.

-- 
Marcin Kowalczyk
qrczak at knm.org.pl
http://qrnik.knm.org.pl/~qrczak/


More information about the Python-3000 mailing list