[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 14:10:47 -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).
> Sounds close enough for me.
That's also my opinion.
Stefan
Re: string-bytes and coding systems, Eli Zaretskii, 2017/03/09