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: Thu, 17 Nov 2005 13:09:21 +0100 (CET) Message-ID: References: <20051113111051.GA7669@h5331.serverkompetenz.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1132230899 24808 80.91.229.2 (17 Nov 2005 12:34:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 17 Nov 2005 12:34:59 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 17 13:34:56 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EciwN-0005XQ-U9 for ged-emacs-devel@m.gmane.org; Thu, 17 Nov 2005 13:32:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EciwN-0003JS-Aa for ged-emacs-devel@m.gmane.org; Thu, 17 Nov 2005 07:32:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EciZz-0001RS-6P for emacs-devel@gnu.org; Thu, 17 Nov 2005 07:09:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EciZx-0001Ql-4G for emacs-devel@gnu.org; Thu, 17 Nov 2005 07:09:26 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EciZw-0001Qc-VB for emacs-devel@gnu.org; Thu, 17 Nov 2005 07:09:24 -0500 Original-Received: from [155.56.68.170] (helo=smtpde02.sap-ag.de) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EciZw-0007YU-Lr for emacs-devel@gnu.org; Thu, 17 Nov 2005 07:09:25 -0500 Original-Received: from sap-ag.de (smtpde02) by smtpde02.sap-ag.de (out) with ESMTP id NAA21752 for ; Thu, 17 Nov 2005 13:09:21 +0100 (MEZ) Original-To: emacs-devel@gnu.org In-Reply-To: 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:46157 Archived-At: >> I'm using emacs-cvs. Try to insert: > >> (url-insert-file-contents "http://www.hoetzel.info/test") > >> I changed url-insert-file-contents to use the charset supplied in a >> response. Patch enclosed. > > Installed, thank you, > > > 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. -- Klaus Straubinger