unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Klaus Straubinger <KSNetz@Arcor.DE>
Subject: Re: url-insert-file-contents does not use charset from a http-header
Date: Fri, 18 Nov 2005 17:13:45 +0100 (CET)	[thread overview]
Message-ID: <m33bluaq86.fsf@P131831.SAP.Corp> (raw)
In-Reply-To: <874q6aa9yi.fsf-monnier+emacs@gnu.org>

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

  reply	other threads:[~2005-11-18 16:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-13 11:10 url-insert-file-contents does not use charset from a http-header Juergen Hoetzel
2005-11-16 19:06 ` Stefan Monnier
2005-11-17 12:09   ` Klaus Straubinger
2005-11-18  3:53     ` Stefan Monnier
2005-11-18 16:13       ` Klaus Straubinger [this message]
2005-11-18 17:52         ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m33bluaq86.fsf@P131831.SAP.Corp \
    --to=ksnetz@arcor.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).