Control: tag -1 - unreproducible + confirmed upstream
Control: retitle -1 links: No option to specify charset on command-line
Control: severity -1 wishlist

Hi Julian,

Julian Gilbey wrote:
> > Your file, at least how it arrived by mail here, contains an
> > ISO-Latin-1 character, which shows as circled question mark on an
> > UTF-8 using terminal if you just do a "cat a.html". (Can you confirm
> > that for your terminals?)
> 
> Ah, so that is presumably why you dion't see the same as me: it was
> garbled in transit.  I'm attaching a gzipped version; hopefully this
> will reach you intact: it should be UTF-8 encoded.

Much better. I can now reproduce this issue.

> And maybe this is what links is then doing: it is trying to
> interpret both bytes of the UTF-8 file separately. (In the context
> in which I was originally using it, the file was a MIME attachment,
> and the MIME headers specified the UTF-8 encoding.)

Hrm. Indeed. But the issue is gone again if I add the following lines
after "<html>":

<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
</head>

> So if links can handle UTF-8 encoded files, it would be very useful to
> also have a command-line flag to specify the encoding.

That's the actual issue. There seems no chance to pass the charset on
the commandline. I'll forward this to upstream.

                Regards, Axel
-- 
 ,''`.  |  Axel Beckert <a...@debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to