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:43:40 +0300

> From: Robert Pluim <address@hidden>
> Date: Mon, 27 May 2019 15:02:42 +0200
> Cc: address@hidden
> 
> If I take a string of say "β", and replace string-as-unibyte with
> (encode-coding-string 'emacs-internal), `encoded-string-description'
> prints "#xCE #xB2", which is the correct UTF-8 encoded
> value.

emacs-internal produces the internal representation, which is a
superset of UTF-8.  It doesn't produce a 100% valid UTF-8.  That's an
important distinction that should be always kept in mind.



reply via email to

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