[Top][All Lists]

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

Re: [Bug-wget] bad filenames (again)

From: Andries E. Brouwer
Subject: Re: [Bug-wget] bad filenames (again)
Date: Tue, 18 Aug 2015 19:33:39 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, Aug 18, 2015 at 07:39:40PM +0300, Eli Zaretskii wrote:

> > No. An exact copy allows me to decide what I have.
> Which is the heuristic you want this to be solved.  IMO, such a
> heuristic will not server most of the users in most of use cases.
> Users just want wget to DTRT automatically, and have the file names
> legible.

Let me see whether I understand you correctly.

You want to do the right thing. You think that the right thing
would be to invoke iconv. Since the original character set is
unknown to user and wget, you have to guess. What could one guess?
If the string is ASCII, fine. If the string is valid UTF-8, fine.
If the user has specified the character set, fine.
Otherwise? Leave it as it is?


reply via email to

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