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: Mon, 24 Aug 2020 17:23:18 +0200 Message-ID: References: <83wo1p73d2.fsf@gnu.org> <6ccde339-2bf1-3a4d-61bb-734046bf02d5@cs.ucla.edu> <83r1rx6vgv.fsf@gnu.org> <83lfi56te9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20249"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cc: Eli Zaretskii , eggert@cs.ucla.edu, Stefan Monnier , emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Aug 24 17:24:17 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 1kAEKW-00057t-CA for ged-emacs-devel@m.gmane-mx.org; Mon, 24 Aug 2020 17:24:16 +0200 Original-Received: from localhost ([::1]:41848 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kAEKV-0003a0-EN for ged-emacs-devel@m.gmane-mx.org; Mon, 24 Aug 2020 11:24:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34098) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kAEJs-00037O-1J for emacs-devel@gnu.org; Mon, 24 Aug 2020 11:23:36 -0400 Original-Received: from smtp.gentoo.org ([2001:470:ea4a:1:5054:ff:fec7:86e4]:40631) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kAEJq-0003Mn-9l; Mon, 24 Aug 2020 11:23:35 -0400 In-Reply-To: (Drew Adams's message of "Mon, 24 Aug 2020 07:36:54 -0700 (PDT)") 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/24 11:23:24 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:254188 Archived-At: >>>>> On Mon, 24 Aug 2020, Drew Adams wrote: > I'll just say this, as some have suggested that > one main thing they want is to be able to easily > and quickly tell whether the encoding is NOT > utf-8 (and not ASCII, presumably): > The characters "u" and "U" are not so easily > distinguished. You might want to pick some > other, quite different looking, character for > the non-UTF-8 (i.e., UTF-16 etc.). Another idea: Since "-" is used for ASCII, maybe use "+" for UTF-8? This would be visually unobtrusive, so any uncommon coding system would stand out against it.