[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Disambiguate modeline character for UTF-8?
From: |
Stefan Monnier |
Subject: |
Re: Disambiguate modeline character for UTF-8? |
Date: |
Sun, 23 Aug 2020 11:27:22 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> Presumably UTF-8 is the most popular coding system today. Nevertheless,
> it shares its mnemonic character displayed in the modeline with several
> others (while legacy codings like ISO-8859-1 have their unique char):
>
> U -- utf-8* (all variants)
> U -- utf-16* (all variants)
> U -- utf-7
> u -- utf-7-imap
> U -- koi8-u
Agreed.
> I wonder if this could be disambiguated, such that "U" would be used
> exclusively for UTF-8 and its variants. For example, as follows:
>
> U -- utf-8* (all variants)
> u -- utf-16* (all variants)
> m -- utf-7* (Mnemonic: "m" for mail-safe or MIME)
> Y -- koi8-u (Mnemonic: "Y" looks similar to 1st letter in "Українська")
>
> WDYT?
Yay, bikeshedding ;-)
I don't see a strong reason to limit ourselves to a single char, FWIW,
so I think `u7` is fine for utf-7* (it should be very rare anyway).
Stefan
- Disambiguate modeline character for UTF-8?, Ulrich Mueller, 2020/08/23
- Re: Disambiguate modeline character for UTF-8?,
Stefan Monnier <=
- Re: Disambiguate modeline character for UTF-8?, Eli Zaretskii, 2020/08/23
- Re: Disambiguate modeline character for UTF-8?, Paul Eggert, 2020/08/23
- Re: Disambiguate modeline character for UTF-8?, Ulrich Mueller, 2020/08/23
- Re: Disambiguate modeline character for UTF-8?, Eli Zaretskii, 2020/08/23
- Re: Disambiguate modeline character for UTF-8?, Eli Zaretskii, 2020/08/23
- Re: Disambiguate modeline character for UTF-8?, Ulrich Mueller, 2020/08/23
- Re: Disambiguate modeline character for UTF-8?, Eli Zaretskii, 2020/08/23
- Re: Disambiguate modeline character for UTF-8?, Stefan Monnier, 2020/08/23
- Re: Disambiguate modeline character for UTF-8?, Ulrich Mueller, 2020/08/24
- Re: Disambiguate modeline character for UTF-8?, Yuri Khan, 2020/08/24