把编码改过了vi ~/.lftp/rc
set ftp:charset "gbk"
set file:charset "UTF-8"
alias cn "set ftp:charset gbk; set file:charset UTF-8"
alias utf8 "set ftp:charset UTF-8; set file:charset UTF-8"
用set -a 看的时候也确实改了
但是文件名依然是乱码(不管是cn还是utf8)
这是为什么阿 求解决。
把编码改过了vi ~/.lftp/rc
set ftp:charset "gbk"
set file:charset "UTF-8"
alias cn "set ftp:charset gbk; set file:charset UTF-8"
alias utf8 "set ftp:charset UTF-8; set file:charset UTF-8"