Hi, I am using lftp from a Python script, calling it through `subprocess.run`. Everything should be UTF-8 (shell, lftp is sending OPTS UTF-8 to the server) and my Python script is using UTF-8, sends UTF-8 to lftp on the stdin and expect UTF-8 on its stdout.
But for some unknown reason, it seems that lftp is returning latin-1 encoding, instead of UTF-8, for the directory listings. Are you aware of such a problem? I did not find any way to force lftp to use UTF-8. Thanks!
signature.asc
Description: OpenPGP digital signature
_______________________________________________ lftp mailing list lftp@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp