[Bug 218741] Re: scp cuts UTF8 filenames by bytes instead of characters

Bogdan Butnaru bogdanb+launchpad at gmail.com
Thu Apr 17 17:51:13 BST 2008


This is particular bug is relatively easy but complicated to fix. The
problem lies with function refresh_progress_meter in progressmeter.c,
which indeed cuts strings by characters.

The problem with the cut-up characters can be solved relatively simply
by measuring more carefully where to cut the string, using a locale-
sensitive function. The alignment problem is harder, because it depends
on the terminal's ability to display combining characters and full-width
ones.

-- 
scp cuts UTF8 filenames by bytes instead of characters
https://bugs.launchpad.net/bugs/218741
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.



More information about the Ubuntu-server-bugs mailing list