[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] [Bug-Wget][BUG] Progress bar does not support multibyte chara
[Bug-wget] [Bug-Wget][BUG] Progress bar does not support multibyte characters
Sat, 30 Aug 2014 09:23:08 +0530
Earlier this year, I implemented a new, more concise form of the
progress bar. However, I've just been given a bug report regarding the
same, which I was unable to fix.
The currently implemented progress bar shows only upto 15 characters
of the URL. In case of longer URLs, we scroll the filename like a
ticker. For selecting the 15 characters, wget copies 15 bytes from the
string into the progress bar. This method fails on URLs containing
multibyte characters. In this scenario, the progress bar happens to be
very jittery since the string lengths are very varying.
I am trying to find a solution where we can select a substring which
is n columns large from a given string of potentially multibyte
characters. If someone knows how to and could implement a fix, it
would be truly great!
- [Bug-wget] [Bug-Wget][BUG] Progress bar does not support multibyte characters,
Darshit Shah <=