Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2982036pxj; Mon, 10 May 2021 15:37:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5Sooa+znS9F2q5K5dAwUK4Qpd0G0icvLE3VryUKO01srrj1XmKZyMrQOUtUgoZgYex8ks X-Received: by 2002:a17:906:2616:: with SMTP id h22mr28787787ejc.126.1620686225207; Mon, 10 May 2021 15:37:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620686225; cv=none; d=google.com; s=arc-20160816; b=cakexukCQGVNeH5F3qxdQ4S/YIogRH2/UE2/7h/9m+Muv8XaDyGeqtCRNL4tihwjFf Y02XDNqF1+ZEwZuEq73o6PcGTMTnGaEXQP8qDTXHW5J0MXIYlpQf2u/BeSZrxFuQvxjZ 1calWCDmk1f8Zvy6nI31bTsJ7kUJO2j08nDrOiquLYGqnsg7hOaIYaLJxohvpuduWSt6 I6A/tKEPjp9lemdai236k0vKHpCW1JQAmJggecGb5cKq4FEqbU7ZW4ft+6aNIKb4BUA2 yMq/NeLdg7HkqITvIi3elNEL+udfBAIPP6naIYEWjsrLUgQAdvaeeSLLkPh+Llhpqtud w+yQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=gJGpFaB3hD4HkiIWd+mO95z/N9f2/pmkZ9Bg1WNsE34=; b=TPnPdjNemb0VTuFeVa5FdNH0oNtzEHDJucEtRnC48/vaHslWHy//ooiFdd/z9oObyg 3405wPMaO824UOHk/HbKPQDzoxkx+Lx0dE29r/m0Zb6P70YCFTgNANxbB/6Bw1veQM0q drAy+OeOmsH8w7PPMukVfWs+MAs17hVnFo+iZZvuIykD549PT6JJR6yNSziSnZte3u4c 8xyrEeEiUlsGp6dqNqSSMs2PHomYACjvXIVX6vBzfqbfJQii7WVO4Cts5ZF+4cGOflia 3QXW5EJxzXFrcHm+gy1+XPDSJ5WfNHZ2CBAoycnwXQKoHq28ocnguNvgsDUjdXIIRyf4 11cw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gf2si17300319ejb.500.2021.05.10.15.36.39; Mon, 10 May 2021 15:37:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231270AbhEJWh3 (ORCPT + 99 others); Mon, 10 May 2021 18:37:29 -0400 Received: from tartarus.angband.pl ([51.83.246.204]:34704 "EHLO tartarus.angband.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230271AbhEJWh2 (ORCPT ); Mon, 10 May 2021 18:37:28 -0400 X-Greylist: delayed 1784 seconds by postgrey-1.27 at vger.kernel.org; Mon, 10 May 2021 18:37:20 EDT Received: from kilobyte by tartarus.angband.pl with local (Exim 4.94.2) (envelope-from ) id 1lgDtp-00EKjz-Lm; Mon, 10 May 2021 23:57:13 +0200 Date: Mon, 10 May 2021 23:57:13 +0200 From: Adam Borowski To: Mauro Carvalho Chehab Cc: Linux Doc Mailing List , linux-kernel@vger.kernel.org, Jonathan Corbet , alsa-devel@alsa-project.org, coresight@lists.linaro.org, dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, intel-wired-lan@lists.osuosl.org, keyrings@vger.kernel.org, kvm@vger.kernel.org, linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-edac@vger.kernel.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-fpga@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-iio@vger.kernel.org, linux-input@vger.kernel.org, linux-integrity@vger.kernel.org, linux-media@vger.kernel.org, linux-pci@vger.kernel.org, linux-pm@vger.kernel.org, linux-rdma@vger.kernel.org, linux-riscv@lists.infradead.org, linux-sgx@vger.kernel.org, linux-usb@vger.kernel.org, mjpeg-users@lists.sourceforge.net, netdev@vger.kernel.org, rcu@vger.kernel.org, x86@kernel.org Subject: Re: [PATCH 00/53] Get rid of UTF-8 chars that can be mapped as ASCII Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Junkbait: aaron@angband.pl, zzyx@angband.pl X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: kilobyte@angband.pl X-SA-Exim-Scanned: No (on tartarus.angband.pl); SAEximRunCond expanded to false Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Mon, May 10, 2021 at 12:26:12PM +0200, Mauro Carvalho Chehab wrote: > There are several UTF-8 characters at the Kernel's documentation. [...] > Other UTF-8 characters were added along the time, but they're easily > replaceable by ASCII chars. > > As Linux developers are all around the globe, and not everybody has UTF-8 > as their default charset I'm not aware of a distribution that still allows selecting a non-UTF-8 charset in a normal flow in their installer. And if they haven't purged support for ancient encodings, that support is thoroughly bitrotten. Thus, I disagree that this is a legitimate concern. What _could_ be a legitimate reason is that someone is on a _terminal_ that can't display a wide enough set of glyphs. Such terminals are: • Linux console (because of vgacon limitations; patchsets to improve other cons haven't been mainlined) • some Windows terminals (putty, old Windows console) that can't borrow glyphs from other fonts like fontconfig can For the former, it's whatever your distribution ships in /usr/share/consolefonts/ or an equivalent, which is based on historic ISO-8859 and VT100 traditions. For the latter, the near-guaranteed character set is WGL4. Thus, at least two of your choices seem to disagree with the above: [dropped] > 0xd7 => 'x', # MULTIPLICATION SIGN [retained] > - U+2b0d ('⬍'): UP DOWN BLACK ARROW × is present in ISO-8859, V100, WGL4; I've found no font in /usr/share/consolefonts/ on my Debian unstable box that lacks this character. ⬍ is not found in any of the above. You might want to at least convert it to ↕ which is at least present in WGL4, and thus likely to be supported in fonts heeding Windows/Mac/OpenType recommendations. That still won't make it work on VT. Meow! -- ⢀⣴⠾⠻⢶⣦⠀ .--[ Makefile ] ⣾⠁⢠⠒⠀⣿⡁ # beware of races ⢿⡄⠘⠷⠚⠋⠀ all: pillage burn ⠈⠳⣄⠀⠀⠀⠀ `----