help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: recoding a buffer coding system


From: Peter Dyballa
Subject: Re: recoding a buffer coding system
Date: Sun, 16 Aug 2009 23:09:44 +0200


Am 16.08.2009 um 05:17 schrieb Eli Zaretskii:

Sounds like a bug that should be reported.

I think there is no bug in url-retrieve-synchronously! This function needs to be kind of universal, i.e., don't assume or set anything. From the internet one can download anything, 7-bit US-ASCII, 8-bit umlauts, Unicodes – and real binary data (PDF, JPEG, MPEG,...). It would be nice if this function would accept another argument, the encoding for the buffer created. Right now the user has to take care of this, because the user knows what kind of "data" will be (or already was) downloaded. The variables save-buffer-coding-system or buffer-file-coding-system determine how the buffer will be saved in a file. And this should suffice...

--
Greetings

  Pete

Theory and practice are the same, in theory, but, in practice, they are different.





reply via email to

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