From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Klaus Straubinger Newsgroups: gmane.emacs.devel Subject: Re: url-insert-file-contents does not use charset from a http-header Date: Fri, 18 Nov 2005 17:13:45 +0100 (CET) Message-ID: References: <20051113111051.GA7669@h5331.serverkompetenz.net> <874q6aa9yi.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1132332291 550 80.91.229.6 (18 Nov 2005 16:44:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 18 Nov 2005 16:44:51 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 18 17:44:44 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Ed9Lw-00040F-00 for ; Fri, 18 Nov 2005 17:44:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ed9Lu-0007ZF-Rt for ged-emacs-devel@m.gmane.org; Fri, 18 Nov 2005 11:44:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ed8s4-0004l1-34 for emacs-devel@gnu.org; Fri, 18 Nov 2005 11:13:52 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ed8s1-0004kj-5s for emacs-devel@gnu.org; Fri, 18 Nov 2005 11:13:50 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ed8rz-0004ke-WE for emacs-devel@gnu.org; Fri, 18 Nov 2005 11:13:48 -0500 Original-Received: from [155.56.68.170] (helo=smtpde02.sap-ag.de) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Ed8rz-0003Nh-L5 for emacs-devel@gnu.org; Fri, 18 Nov 2005 11:13:48 -0500 Original-Received: from sap-ag.de (smtpde02) by smtpde02.sap-ag.de (out) with ESMTP id RAA07245 for ; Fri, 18 Nov 2005 17:13:45 +0100 (MEZ) Original-To: emacs-devel@gnu.org Content-Language: de-DE In-Reply-To: <874q6aa9yi.fsf-monnier+emacs@gnu.org> X-Mailer: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 X-SAP: out X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:46227 Archived-At: Hallo Stefan, >> For me, this leads to strange \201 characters in the buffer where the >> insert takes place. I tested it with the URL "http://www.heise.de/" >> which specifies the iso-8859-1 charset. > > It worked correctly for me. Can you give a precise recipe? Create a new buffer in the UTF-8 coding system and call the function with the URL given above. I should mention that I used Emacs 21.4. Maybe the mm-... functions that are called inside make the difference. -- Klaus Straubinger