> Date: Wed, 19 Aug 2015 20:33:37 +0200
> From: "Andries E. Brouwer" <andries.brou...@cwi.nl>
> Cc: "Andries E. Brouwer" <andries.brou...@cwi.nl>, keis...@gmail.com,
>         bug-wget@gnu.org
> 
> On Wed, Aug 19, 2015 at 05:38:39PM +0300, Eli Zaretskii wrote:
> 
> > > Assign a character set as follows:
> > > - if the user specified a from-charset, use that
> > > - if the name is printable ASCII (in 0x20-0x7f), take ASCII
> > > - if the name is non-ASCII and valid UTF-8, take UTF-8
> > > - otherwise take Unknown.
> > 
> > I think this is simpler and produces the same results:
> >  - if the user specified a from-charset, use that
> >  - otherwise assume UTF-8
> 
> Simpler, but the results are not the same.
> 
> If the from-charset is unknown, then any call of iconv will certainly
> lead to bad results.

Not certainly, but it could be, yes.

> So there are only the two possibilities:
> (i) leave as-is (if that is the user's preference)
> (ii) make pure ASCII via hex escapes.

OK, but how is this different from what we'd get using your suggested
4 alternatives?

Reply via email to