Hi, I found bug in wget in combination with czech locales cs_CZ.UTF-8 in
Debian Jessie, but it looks like mainline problem.

When I am downloading files and downloaded file size exceeds one
megabyte, wget starts breaking lines. It looks like this:

http://s.petrkrcmar.cz/tmp/wget.png

Problem is that czech locales uses hard space U00A0 as unit separator
(BTW its not defined as white space). If you change it to ordinary space
character U002E problem disappears.

If you want to reproduce this, just change number locales to czech:

$ LC_NUMERIC=cs_CZ.UTF-8 wget http://something

First kilobytes are OK and output is written normally but after it
exceedes from kilobytes to megabytes it is broken.

Thanks for fix.

-- 
Petr Krčmář

Attachment: smime.p7s
Description: Elektronicky podpis S/MIME

Reply via email to