mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Li Fangning (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SSHD-790) SFTP client does not support filename encoding other than UTF-8.
Date Wed, 27 Dec 2017 09:37:02 GMT

    [ https://issues.apache.org/jira/browse/SSHD-790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16304390#comment-16304390
] 

Li Fangning commented on SSHD-790:
----------------------------------

In the {{AbstractSftpClient#checkOneNameResponse}} (line 288) and {{AbstractSftpClient#checkDirResponse}}
(line 896), method {{Buffer#getString()}} is called rather than method {{Buffer#getString(Charset)}}
. Is there a chance to add a method to configure the default Charset (and then call the {{Buffer#getString(Charset)}}
method)?
I am in China, many users are using GBK encoded file name, so I ran into the problem.

Thanks a lot.

> SFTP client does not support filename encoding other than UTF-8.
> ----------------------------------------------------------------
>
>                 Key: SSHD-790
>                 URL: https://issues.apache.org/jira/browse/SSHD-790
>             Project: MINA SSHD
>          Issue Type: New Feature
>    Affects Versions: 1.6.0
>            Reporter: Li Fangning
>             Fix For: 1.7.0
>
>
> SFTP client does not support filename encoding other than UTF-8.
> The implementation (org.apache.sshd.client.subsystem.sftp.AbstractSftpClient) uses the
default UTF-8 encoding and no chance to modify.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message