[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: url-retrieve-synchronously and coding

From: Stefan Monnier
Subject: Re: url-retrieve-synchronously and coding
Date: Sun, 23 Jan 2011 22:37:26 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> If I do something like this
>          (setq buffer (url-retrieve-synchronously url))

> and the contents of the buffer begins with

>   HTTP/1.1 200 OK
>   Content-Type: text/xml
>   X-Content-Type-Options: nosniff
>   Connection: close

>   <?xml version = "1.0" encoding="UTF-8" standalone="yes"?><!--

>   Content-type: fix-mhtml

> should not then the buffer file coding system be utf-8?

I don't think so, because url-retrieve-synchronously handles the HTTP
part of the protocol only.  Maybe you're thinking of url-insert-file-contents?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]