[Top][All Lists]

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

Re: Disambiguate modeline character for UTF-8?

From: Po Lu
Subject: Re: Disambiguate modeline character for UTF-8?
Date: Fri, 07 Jul 2023 20:01:23 +0800
User-agent: Gnus/5.13 (Gnus v5.13)

Ulrich Mueller <ulm@gentoo.org> writes:

> Do you agree that the character repertoire that can be encoded by UTF-7
> is not identical to the one that can be encoded by UTF-8 or UTF-16?

Only one of the repertories.  The Unicode BMP can be encoded by all of
those coding systems.

> Yes, and when users encounter that rare case, they should get an
> indication that the file they are visiting is in an unusual encoding.

Why?  Again, the purpose of the indicator is to indicate the characters
that can be represented in the buffer's coding system.  If the user
wants to know exactly which coding system is in use, he can view the
indicator's tooltip.

reply via email to

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