Antoine Pitrou wrote:
> Guido van Rossum <guido <at> python.org> writes:
>> I expect that the only effect of this change would be that the
>> filesystem encoding would become the de-facto default encoding for
>> other contexts as well.
> 
> But there is no such thing as "the" filesystem encoding (except in Python's
> simplified heuristics). There is one distinct encoding for each mounted 
> filesystem.

At best - for mounted joliet/vfat/ntfs partitions. For ext3/ufs/jfs
slices, every directory might use its own encoding, different files
in a single directory might use different encodings, and even a single
file name might switch encodings within itself.

However, this is completely unrelated to the issue at hand: remove
the "default encoding". Guido was suggesting that then merely the
"file system encoding" takes its place. These are both Python-only
concepts (in fact, Mark Hammond originally called the latter one
"file system default encoding"). I think the notion of "default
encoding" is flawed (for what it was used), and so it should be
removed. You seem to think that the notion of "file system encoding"
is also flawed - but do you infer from that that it also should be
removed?

Regards,
Martin
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to