[Bug 2193] New: Scp sometimes breaks non-ASCII filenames in copying progress indicator

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Mon Dec 30 08:01:27 EST 2013


https://bugzilla.mindrot.org/show_bug.cgi?id=2193

            Bug ID: 2193
           Summary: Scp sometimes breaks non-ASCII filenames in copying
                    progress indicator
           Product: Portable OpenSSH
           Version: 6.2p1
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: scp
          Assignee: unassigned-bugs at mindrot.org
          Reporter: me at arty.name

When scp sees a filename that is too long to be displayed in progress
indicator, the filename is truncated, apparently not as text string but
as byte string. In my case truncation sometimes cuts off some of
unicode character bytes. For some names and console sizes truncation
happens between the characters, but some get cut. It looks like that in
the console: 

$ scp абвгдеёжзийклмнопрстуфхцчшщъыьэюя arty.name:
абвгдеёжзийклмнопрсту�   0%    0     0.0KB/s   --:-- ETA^C

Note this "�" character at the end of the filename. 

I'm using ubuntu 13.04, LANG de_DE.UTF-8, openssh-client
6.2p2-6ubuntu0.1 and I haven't found any bugs similar to this one fixed
since 6.2

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list