#616369 /usr/bin/sftp: sftp interactive does not work correctly with multibyte charachters

Package:
openssh-client
Source:
openssh
Description:
secure shell (SSH) client, for secure access to remote machines
Submitter:
Krylov Ivan
Date:
2013-11-29 17:33:05 UTC
Severity:
normal
#616369#5
Date:
2011-03-03 21:21:04 UTC
From:
To:
Steps to reproduce:
1) connect to remote host using sftp(1)
2) try to type some multi-byte charachter (e.g. cyrillic in ru_RU.UTF-8 locale)

What happens:
terminal beeps and other weird things happen

What should happen:
mylti-byte charachter appears on the screen like any other normal text

#616369#10
Date:
2013-11-20 20:25:04 UTC
From:
To:
Pasting "보쌈" is not permitted, but this
tab-completion trick works, despite displaying incorrectly:

sftp> ls -l
drwxr-xr-x    1 clint    clint          12 Nov 20 20:19 보쌈
sftp> cd .//
sftp> ls
idiocy

#616369#13
Date:
2013-11-20 20:25:04 UTC
From:
To:
Pasting "보쌈" is not permitted, but this
tab-completion trick works, despite displaying incorrectly:

sftp> ls -l
drwxr-xr-x    1 clint    clint          12 Nov 20 20:19 보쌈
sftp> cd .//
sftp> ls
idiocy

#616369#18
Date:
2013-11-20 20:30:57 UTC
From:
To:
#616369#23
Date:
2013-11-29 17:31:25 UTC
From:
To:
Thanks for your reply!

Clint Adams wrote:
Thanks! I couldn't adapt it to the case of multiple directories with
names beginning with non-ASCII characters, though.

Specifying the non-ASCII directory name on the command line also works.

Should we continue this at the upstream link
<https://bugzilla.mindrot.org/show_bug.cgi?id=2148> you suggested?