From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/14019 Path: news.gmane.org!not-for-mail From: Tim Landscheidt Newsgroups: gmane.emacs.gnus.user Subject: Re: Charset hiccups with HTML mails display Date: Sun, 20 Jun 2010 20:12:52 +0000 Organization: Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1277064803 14839 80.91.229.12 (20 Jun 2010 20:13:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 20 Jun 2010 20:13:23 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Sun Jun 20 22:13:20 2010 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OQQtK-0002si-Q3 for gegu-info-gnus-english@m.gmane.org; Sun, 20 Jun 2010 22:13:19 +0200 Original-Received: from localhost ([127.0.0.1]:58290 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OQQtJ-0006AP-RH for gegu-info-gnus-english@m.gmane.org; Sun, 20 Jun 2010 16:13:17 -0400 Original-Received: from [140.186.70.92] (port=57301 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OQQtF-00069a-DL for info-gnus-english@gnu.org; Sun, 20 Jun 2010 16:13:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OQQtE-0002IY-3Y for info-gnus-english@gnu.org; Sun, 20 Jun 2010 16:13:13 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:46282) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OQQtD-0002IU-SZ for info-gnus-english@gnu.org; Sun, 20 Jun 2010 16:13:12 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OQQt8-0002eT-3g for info-gnus-english@gnu.org; Sun, 20 Jun 2010 22:13:06 +0200 Original-Received: from e177124103.adsl.alicedsl.de ([85.177.124.103]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 20 Jun 2010 22:13:06 +0200 Original-Received: from tim by e177124103.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 20 Jun 2010 22:13:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: info-gnus-english@gnu.org Original-Lines: 41 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: e177124103.adsl.alicedsl.de Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:JqnIXbPKg6GfYoctSYG4dETBLhk= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:14019 Archived-At: 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" > | > | > |

Test: Ä

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