[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] Bug with czech locales
From: |
Petr Krcmar |
Subject: |
[Bug-wget] Bug with czech locales |
Date: |
Tue, 07 Apr 2015 11:42:12 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.5.0 |
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ář
smime.p7s
Description: Elektronicky podpis S/MIME
- [Bug-wget] Bug with czech locales,
Petr Krcmar <=