Gnus development mailing list
 help / color / mirror / Atom feed
* gnus saves text/html part in wrong encoding before links -dump
@ 2008-12-02  2:58 Alexandre Oliva
  0 siblings, 0 replies; only message in thread
From: Alexandre Oliva @ 2008-12-02  2:58 UTC (permalink / raw)
  To: ding

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-12-02  2:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-02  2:58 gnus saves text/html part in wrong encoding before links -dump Alexandre Oliva

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).