[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] SINGLE QUOTE in wget output is replaced by UTF-8 value of
From: |
Petr Pisar |
Subject: |
Re: [Bug-wget] SINGLE QUOTE in wget output is replaced by UTF-8 value of SINGLE QUOTE |
Date: |
Thu, 9 Aug 2012 14:53:10 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Thu, Aug 09, 2012 at 06:02:55PM +0530, Avinash wrote:
> locale is UTF-8, but it was true with wget-1.10.2-0 as well.
> If I install 'wget-1.10.2-0' RPM then SINGLE QUOTE is not replaced even
> though locale is UTF-8.
>
> When I install 'wget-1.12-0'(created on top of 1.12 source) then only I see
> the issue.
>
Than that was a bug in wget 1.10. Correct behaviour is to replace ASCII quotes
to locale specific ones. en_US.UTF-8 is different from C locale by definition.
If you want ASCII only output, you have to run in C locale or any other
locale that is restricted to ASCII. en_US.UTF-8 is not such a locale.
> 2012-08-09 16:24:37 (13.3 MB/s) -
> *â*192.21.242.12:9999/1/Acc/index.html*â *saved
> [8045/8045]
>
This looks like your terminal is not running in Unicode mode.
-- Petr
PS: Maybe you could be interrestd in current Fedora package
(http://pkgs.fedoraproject.org/cgit/wget.git/tree/).
pgp_eNEqxw_CV.pgp
Description: PGP signature