Bug#595563: only happens when Chinese characters in filename

Ansgar Burchardt ansgar at 43-1.org
Mon Sep 6 05:01:32 UTC 2010


tags 595563 = confirmed
severity 595563 minor
thanks

jidanni at jidanni.org writes:

> It turns out the problem only happens when the filename is Chinese:
> $ clive http://www.youtube.com/watch?v=zbC7TN4aOYY
> 男身女心電玩美少女橘子辦第三性聚會.flv  74%    3.1M /  4.2M                      17.8K
> 男身女心電玩美少女橘子辦第三性聚會.flv  75%    3.1M /  4.2M                      17.8K
> 男身女心電玩美少女橘子辦第三性聚會.flv  75%    3.1M /  4.2M                      17.9K

I can reproduce this when I resize my Konsole window during the
download:

% clive "http://www.youtube.com/watch?v=zbC7TN4aOYY"
fetch http://www.youtube.com/watch?v=zbC7TN4aOYY ...done.
verify video link ...done.
男身女心電玩美少女橘子辦第三性聚會.flv  44%    5.1M / 11.6M
男身女心電玩美少女橘子辦第三性聚會.flv  44%    5.2M / 11.6M
男身女心電玩美少女橘子辦第三性聚會.flv  46%    5.3M / 11.6M
男身女心電玩美少女橘子辦第三性聚會.flv  47%    5.5M / 11.6M
男身女心電玩美少女橘子辦第三性聚會.flv  48%    5.6M / 11.6M
481.1K/s     12s

After resizing the download speed ends up on the next line, no matter
how wide the window is.  It still works correctly for me if I don't
resize the window.

It works correctly with only half-width characters in the file name so I
suppose the problem is clive believing that every character takes the
same amount of space.

Also the download speed and time estimate are intended to be
right-aligned, but this only happens once the window is resized.  clive
just assumes a width of 80 characters before that.

Regards,
Ansgar





More information about the pkg-perl-maintainers mailing list