From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/14008 Path: news.gmane.org!not-for-mail From: Tim Landscheidt Newsgroups: gmane.emacs.gnus.user Subject: Charset hiccups with HTML mails display Date: Fri, 11 Jun 2010 21:35:12 +0000 Organization: Message-ID: 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 1276292138 20558 80.91.229.12 (11 Jun 2010 21:35:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 11 Jun 2010 21:35:38 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Fri Jun 11 23:35:37 2010 connect(): No such file or directory 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 1ONBsy-0008Dg-Rn for gegu-info-gnus-english@m.gmane.org; Fri, 11 Jun 2010 23:35:33 +0200 Original-Received: from localhost ([127.0.0.1]:50574 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ONBsy-0002yG-9S for gegu-info-gnus-english@m.gmane.org; Fri, 11 Jun 2010 17:35:32 -0400 Original-Received: from [140.186.70.92] (port=36136 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ONBsu-0002xy-UH for info-gnus-english@gnu.org; Fri, 11 Jun 2010 17:35:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ONBst-0002Sy-Tk for info-gnus-english@gnu.org; Fri, 11 Jun 2010 17:35:28 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:54910) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ONBst-0002Sh-NP for info-gnus-english@gnu.org; Fri, 11 Jun 2010 17:35:27 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1ONBsq-00088u-Ay for info-gnus-english@gnu.org; Fri, 11 Jun 2010 23:35:24 +0200 Original-Received: from d226042.adsl.hansenet.de ([80.171.226.42]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Jun 2010 23:35:24 +0200 Original-Received: from tim by d226042.adsl.hansenet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Jun 2010 23:35:24 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: info-gnus-english@gnu.org connect(): No such file or directory Original-Lines: 38 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: d226042.adsl.hansenet.de Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:Pkq9VO3XVEMfGB5fepjNWI5Mn5g= 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:14008 Archived-At: Hi, 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? TIA, Tim