[Python-Dev] Should ftplib use UTF-8 instead of latin-1 encoding?
a.badger at gmail.com
Fri Jan 23 20:54:38 CET 2009
Oleg Broytmann wrote:
> On Fri, Jan 23, 2009 at 02:35:01PM -0500, rdmurray at bitdance.com wrote:
>> Given that a Unix OS can't know what encoding a filename is in (*),
>> I can't see that one could practically implement a Unix FTP server
>> in any other way.
> Can you believe there is a well-known program that solved the issue?! It
> is Apache web server! One can configure different directories and different
> file types to have different encodings. I often do that. One (sysadmin) can
> even allow users to do the configuration themselves via .htaccess local files.
> I am pretty sure FTP servers could borrow some ideas from Apache in this
> area. But they don't. Pity. :(
AFAIK, Apache is in the same boat as ftp servers. You're thinking of
the encoding inside of the files. The problem is with the file names
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 197 bytes
Desc: OpenPGP digital signature
More information about the Python-Dev