|
From: | Stefan Monnier |
Subject: | Re: `write-region' writes different bytes than passed to it? |
Date: | Tue, 11 Dec 2018 11:36:13 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> 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). Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |