[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] [Bug-Wget][BUG] Progress bar does not support multibyte chara

From: Darshit Shah
Subject: [Bug-wget] [Bug-Wget][BUG] Progress bar does not support multibyte characters
Date: 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!

Thanking You,
Darshit Shah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]