Antoine Pitrou <[EMAIL PROTECTED]> writes:

> By the way, you should be aware that filesystems have their own
> encodings which can different from the default system encoding
> (depending on how it's declared in /etc/fstab). I don't know of a
> simple way to retrieve the encoding for a given directory (except
> trying to find out the filesystem mounting point and parsing
> /etc/fstab... *sigh*). This can be annoying when handling non-ascii
> filenames.

I believe the intent is to set up all filesystems to use the same
encoding externally. The encoding setting exists only for some
filesystems, especially those which use UTF-16 internally, where
it would be impossible to physically store filenames in the default
system encoding, or where the filesystem is likely to be created
on a different system with a different encoding.

-- 
   __("<         Marcin Kowalczyk
   \__/       [EMAIL PROTECTED]
    ^^     http://qrnik.knm.org.pl/~qrczak/
_______________________________________________
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