
cus at fazekas
Jul 17, 2009, 5:21 AM
Post #1 of 1
(634 views)
Permalink
|
|
[PATCH] UTF8 and sftp-server
|
|
Hi, Currently the openssh sftp-server only supports sftp protocol version 3, and unless I am mistaken there are no plans to support newer versions of this protocol. The encoding of the filenames for this protocol version is unspecified, so there is no reliable way for an sftp client to detect the encoding of the filenames. To solve this problem, I am proposing here a new sftp extension to allow the sftp server to give a hint to the clients whether or not they should interpret the filenames as utf-8. I tried to keep the patch as simple as possible (introduced a new command line parameter to sftp-server, when specified, the server would send this extension) I also made contact with Martin Prikryl, the developer of WinSCP, he wrote that if the extension got in to openSSH, he would be happy to add support for it: http://winscp.net/forum/viewtopic.php?t=7108 Regards, Marton
|