[Top][All Lists]

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

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

From: Philipp Stephani
Subject: Re: `write-region' writes different bytes than passed to it?
Date: Sat, 22 Dec 2018 23:59:14 +0100

Am Di., 11. Dez. 2018 um 17:50 Uhr schrieb Stefan Monnier
> > Yes, because "\xC1\xB2" just happens to be the internal multibyte
> > representation of a raw-byte F2.  Raw bytes are always converted to
> > their single-byte values on output, regardless of the encoding you
> > request.
> Maybe we shouldn't encode unibyte strings (under the assumption
> that a unibyte string is already encoded: it's a sequence of bytes
> rather than a sequence of chars).

That's what I'd expect (either this, or a signal).

reply via email to

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