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: Tue, 11 Dec 2018 17:42:46 +0200

> From: Philipp Stephani <p.stephani2@gmail.com>
> Date: Tue, 11 Dec 2018 13:42:59 +0100
> 
> Still it seems weird that when confronted with an invalid UTF-8
> sequence `write-region' occasionally writes a *different* invalid
> UTF-8 sequence.

The internal representation of characters is not UTF-8, it is a
superset of UTF-8.  So some sequences that are invalid UTF-8 are valid
for the internal representation.



reply via email to

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