From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ulrich Mueller Newsgroups: gmane.emacs.devel Subject: Re: Disambiguate modeline character for UTF-8? Date: Sun, 23 Aug 2020 20:53:36 +0200 Message-ID: References: <83wo1p73d2.fsf@gnu.org> <6ccde339-2bf1-3a4d-61bb-734046bf02d5@cs.ucla.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9822"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cc: Eli Zaretskii , Stefan Monnier , emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Aug 23 20:54:20 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k9v8F-0002Sq-Ii for ged-emacs-devel@m.gmane-mx.org; Sun, 23 Aug 2020 20:54:19 +0200 Original-Received: from localhost ([::1]:38912 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k9v8E-0000vS-Kn for ged-emacs-devel@m.gmane-mx.org; Sun, 23 Aug 2020 14:54:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58744) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k9v7k-0000Ul-Vq for emacs-devel@gnu.org; Sun, 23 Aug 2020 14:53:48 -0400 Original-Received: from dev.gentoo.org ([2001:470:ea4a:1:5054:ff:fec7:86e4]:47503 helo=smtp.gentoo.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k9v7g-00008X-56; Sun, 23 Aug 2020 14:53:48 -0400 In-Reply-To: <6ccde339-2bf1-3a4d-61bb-734046bf02d5@cs.ucla.edu> (Paul Eggert's message of "Sun, 23 Aug 2020 11:24:49 -0700") Received-SPF: pass client-ip=2001:470:ea4a:1:5054:ff:fec7:86e4; envelope-from=ulm@gentoo.org; helo=smtp.gentoo.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/23 14:53:41 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:254151 Archived-At: >>>>> On Sun, 23 Aug 2020, Paul Eggert wrote: > On 8/23/20 9:07 AM, Eli Zaretskii wrote: >> it doesn't have to be an ASCII character. I really didn't want to open that can of worms. Now we can have endless bikeshedding. :) Also, shouldn't one be extra conservative for the characters displayed in the modeline, as not all systems may be capable of displaying the full unicode repertoire? > OK, then how about this refinement of Ulrich's suggestion? > U -- utf-8* (all variants) > W -- utf-16* (all variants) > =C7=93 -- utf-7 U+01D3 LATIN CAPITAL LETTER U WITH CARON > =C7=94 -- utf-7-imap U+01D4 LATIN SMALL LETTER U WITH CARON > =D0=A3 -- koi8-u U+0423 CYRILLIC CAPITAL LETTER U > W because it's double-U, and a caron because it looks like a 7 rotated. W is already used for iso-latin-8 aka iso-8859-14.