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

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

Re: Replacement for string-as-unibyte-function


From: Eli Zaretskii
Subject: Re: Replacement for string-as-unibyte-function
Date: Mon, 01 Feb 2021 16:53:32 +0200

> Date: Sun, 31 Jan 2021 21:55:55 -0800
> From: Joe Riel <joer@san.rr.com>
> Cc: help-gnu-emacs@gnu.org
> 
> >     (set-process-coding-system <proc> 'binary)
> > 
> > (which you can also set directly when you launch the process, but how
> > you do it depends on the function you use to create the process).
> 
> I'm actually using make-network-process (to communicate via tls).  

make-network-process accepts the :coding attribute, which you could
use instead of what Stefan suggests above.

> I tried using (set-buffer-multibyte nil) and (insert string), 
> but that doesn't work.

Please show how you tried that.  The effect could depend on the
details and the timing of that call.



reply via email to

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