Hello, Hrvoje!

Tuesday, February 21, 2006, 12:47:53 AM, you wrote:

>> When downloading wget displays 'a' character insted of '.' (dot) in
>> a file length.  Here is a screenshot
>> http://www.nncron.ru/temp/wget.jpg

HN> It's a bug.  The "a" character is probably the thousand separator, but
HN> I don't understand why it is displayed in that way.  If you understand
HN> Windows C programming, take a look at the function `add_thousand_seps'
HN> in utils.c

I'm not a programmer, so I may be wrong, but I'm pretty sure the problem
lies in wrong ANSI/OEM character encoding conversion. The thousand separator
is set to ',' (I'm in Russia, this is the default setting). Maybe the
character is 'garbaged' somewhere during encoding conversion?

At least I see the '.' character hardcoded as the thousand separator in the
download speed counter. Maybe we should hardcode the thousand separator in
file length as well?


-- 
Best regards,
 Valery Kondakoff                            mailto:[EMAIL PROTECTED]

PGP key: mailto:[EMAIL PROTECTED]@nncron.ru


Reply via email to