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

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

Re: `write-region' writes different bytes than passed to it?


From: Eli Zaretskii
Subject: Re: `write-region' writes different bytes than passed to it?
Date: Mon, 11 Feb 2019 22:20:51 +0200

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Date: Mon, 11 Feb 2019 14:44:57 -0500
> 
> > Yes, in a better world, a better deity would be well advised to make
> > raw bytes unnecessary and non-existent.
> 
> I think raw bytes are OK.  The problem here is the encoding of a unibyte
> text (i.e. treating the unibyte text as holding chars rather than bytes).

If you have raw bytes inside otherwise legible text, encoding that
text will have to encode the bytes as well.  So as soon as you have
the former, you need to deal with the latter.



reply via email to

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