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

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

Re: string-bytes and coding systems


From: Eric Abrahamsen
Subject: Re: string-bytes and coding systems
Date: Fri, 10 Mar 2017 10:56:36 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> Hmm, maybe it will be bindat.el after all! Or I'll just keep the current
>> in-buffer string-bytes approach and wait for something to explode.
>
> Basically, as long as the data is truly utf-8, string-bytes should give
> you the correct answer.  The differences should only occur on characters
> which are outside of utf-8 proper (used to represent invalid utf-8 data).

Sounds close enough for me.




reply via email to

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