emacs-devel
[Top][All Lists]
Advanced

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

Re: emacs-26 8f18d12: Improve documentation of decoding into a unibyte b


From: Eli Zaretskii
Subject: Re: emacs-26 8f18d12: Improve documentation of decoding into a unibyte buffer
Date: Mon, 27 May 2019 19:40:12 +0300

> From: Robert Pluim <address@hidden>
> Cc: Eli Zaretskii <address@hidden>
> Date: Mon, 27 May 2019 11:47:35 +0200
> 
>     string-as-unibyte is a built-in function in `src/fns.c'.
> 
>     (string-as-unibyte STRING)
> 
>       This function is obsolete since 26.1;
>       use `encode-coding-string'.
>       Probably introduced at or before Emacs version 20.3.
>       This function does not change global state, including the match data.
> 
> Having trawled through the elisp manual, for the life of me itʼs not
> clear which coding system I should use. 'raw-text'? 'us-ascii'?
> Something Else?

You should use utf-8-emacs-unix.



reply via email to

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