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: Stefan Monnier
Subject: Re: string-bytes and coding systems
Date: Fri, 10 Mar 2017 13:26:27 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

> 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).


        Stefan




reply via email to

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