emacs-devel
[Top][All Lists]
Advanced

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

Re: Disambiguate modeline character for UTF-8?


From: Andreas Schwab
Subject: Re: Disambiguate modeline character for UTF-8?
Date: Fri, 07 Jul 2023 14:38:57 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

On Jul 07 2023, Po Lu wrote:

> Why?  Again, the purpose of the indicator is to indicate the characters
> that can be represented in the buffer's coding system.

No.  The purpose is to indicate the buffer's file coding system.  You
can put non-latin-1 characters in a buffer with a latin-1 file coding
system just fine.  The file coding system is only relevant when the
buffer contents is saved.

The buffer contents, if multibyte, is always represented by
utf-8-emacs-unix, but that is an internal detail.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



reply via email to

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