> I don't see how starting with an empty directory helps. The filename > comes from the client, and the FTP server can't know what the actual > encoding of that filename is.
Sure it can. If the client supports RFC 2640, it will send file names in UTF-8. If the client does not support RFC 2640, the client must restrict itself to 7-bit file names (i.e. ASCII). If the client violates the protocol, the server must respond with error 501. Regards, Martin _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com