From: Alexandre Oliva <oliva@lsd.ic.unicamp.br>
To: ding@gnus.org
Subject: gnus saves text/html part in wrong encoding before links -dump
Date: Tue, 02 Dec 2008 00:58:59 -0200 [thread overview]
Message-ID: <orprkbuvt8.fsf@livre.oliva.athome.lsd.ic.unicamp.br> (raw)
Hi there,
I've just got a chance to investigate why text/html with non-ascii
characters was displayed incorrectly on Fedora 10's GNU Emacs.
Turns out gnus selects links to convert html to text, but then, when
it's fed an iso-8859-1 message encoded with e.g. quoted-printable, it
converts that to iso-8859-1, saves it in a file, and then runs links
-dump.
Unfortunately, elinks-0.12 (unlike 0.11) won't deal with ISO-8859-1
when LANG is *@utf-8, not even with -dump-charset set appropriately.
It seems to me that we try to convert stuff to the system charset
before running links -dump, but it's not making any chances
whatsoever: the file ends up in ISO-8859-1, and then we get output
back from links that's corrupted.
More details at https://bugzilla.redhat.com/show_bug.cgi?id=474069
--
Alexandre Oliva http://www.lsd.ic.unicamp.br/~oliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/ FSF Latin America board member
Free Software Evangelist Red Hat Brazil Compiler Engineer
reply other threads:[~2008-12-02 2:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=orprkbuvt8.fsf@livre.oliva.athome.lsd.ic.unicamp.br \
--to=oliva@lsd.ic.unicamp.br \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).