设置Xshell 使用的编码为utf-8
    image.png

    设置Sftp 使用的编码为utf-8,需要选择远程服务器后,设置服务器的编码方式
    image.png