emacs-devel
[Top][All Lists]
Advanced

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

Re: How to get buffer byte length (not number of characters)?


From: Adam Porter
Subject: Re: How to get buffer byte length (not number of characters)?
Date: Fri, 23 Aug 2024 01:31:16 -0500
User-agent: Mozilla Thunderbird

On 8/22/24 08:50, Eli Zaretskii wrote:

But AFAICT, plz.el does decode the stuff it gets from curl, which
doesn't seem to be consistent with what you say above.  If plz.el
would accept unibyte text and return unibyte text, that would be
consistent: it would mean that any callers of plz.el need to do
encoding and decoding themselves.  But that doesn't seem to be the
case now.

Am I missing something?

Yes, the :decode argument to plz. If :decode is nil (or if ":as 'binary" is specified, which sets :decode to nil), plz does not decode the response body.



reply via email to

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