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: Eli Zaretskii
Subject: Re: Disambiguate modeline character for UTF-8?
Date: Thu, 06 Jul 2023 22:01:53 +0300

> From: Ulrich Müller <ulm@gentoo.org>
> Cc: emacs-devel@gnu.org
> Date: Thu, 06 Jul 2023 20:44:05 +0200
> 
> --- a/lisp/language/cyrillic.el
> +++ b/lisp/language/cyrillic.el
> @@ -126,7 +126,10 @@ 'cp878
>  (define-coding-system 'koi8-u
>    "KOI8-U 8-bit encoding for Cyrillic (MIME: KOI8-U)"
>    :coding-type 'charset
> -  :mnemonic ?U
> +  ;; This used to be ?U which collided with UTF-8.  ?K is also used
> +  ;; for Korean, but it shouldn't be a real conflict since Cyrillic
> +  ;; and Hangul can be disambiguated from context.
> +  :mnemonic ?K

K is not a good idea, for 2 reasons:

  . the KOI8 family includes 3 encodings, not 1
  . U in koi8-u stands for "Ukraine", so replacing it with K will
    probably be frowned upon

How about using У instead?  (Assuming using non-ASCII works there; the
code seems to allow that.)



reply via email to

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