info-gnus-english
[Top][All Lists]
Advanced

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

Re: Charset hiccups with HTML mails display


From: Tim Landscheidt
Subject: Re: Charset hiccups with HTML mails display
Date: Sun, 20 Jun 2010 20:12:52 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

I wrote:

> I have been having for quite some time the problem of HTML
> mails not properly displaying due to charset hiccups (Gnus
> v5.13/GNU Emacs 23.1.1 here) that I need to tackle now.

>   The issue is easily explained: A message consisting of
> (only relevant header lines):

> | MIME-Version: 1.0
> | Content-Transfer-Encoding: 8bit
> | Content-type: text/html; charset="iso-8859-1"

> | <html>
> |   <body>
> |     <p>Test: &Auml;</p>
> |   </body>
> | </html>

> should display "Test: Ä" in some way, but instead it says:
> "Test: \303\204" (i. e. "Ä" encoded in UTF-8).

>   mm-text-html-renderer is lynx,
> mm-text-html-renderer-alist's lynx entry is (lynx
> mm-inline-render-with-stdin nil "lynx" "-dump" "-force_html"
> "-stdin" "-nolist"). If I prepend the latter argument list
> with "-display_charset=iso-8859-1", instead of "\303\204"
> "\304" is rendered (i. e. "Ä" encoded in ISO 8859-1).

>   So the problem seems to be that Gnus doesn't accept Lynx's
> output as UTF-8 but as some raw binary. I use shell-command/
> shell-command-on-region on a daily basis, so the source of
> the problem does not lie with Emacs in this case.

>   Any ideas?

Isn't there even a single kind soul out there who could tem-
porarily set his mm-text-html-renderer to lynx, view an HTML
mail and confirm my report or not? :-)

Tim




reply via email to

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