Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2497893pxj; Mon, 10 May 2021 04:33:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYfF6RfAp1XnbvMABn+vT2Hur6zornlPp4nqMBeW4CADCcn7yCnM3czcvbVisau/47mwmq X-Received: by 2002:a05:6402:2317:: with SMTP id l23mr2846923eda.265.1620646400564; Mon, 10 May 2021 04:33:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620646400; cv=none; d=google.com; s=arc-20160816; b=vuQiIuMzigVtAcnpP7vDEjne8Du8pd1bWa+B4ytQprnexkZdkabNcgiMU/yw3qxs0/ tuE+OzQVEOMblHqsvXfX7MfcI7gj73ErJwW4UU9axLCp2qNvFPiyyc2Eg2WLu0ycz7Tf nPyZC7USieHDeTmSmUHDPVQAaIEnVlkGV4tmS5IixKG7vBABD7OY3JNKW49EXFUZSigm 4cF7FkZgdo1ASz4sSuX7qU+ApSwpitiL9RcliCApdCotmFR/3tqkUAPltFhkWtLoSdmD gL7lccyHWV6Yr5om5oCMRjD+imFL9Ui6qhyhnKyzJ/iQKp/EDvJ5S/H5rxMPlkysi8RL /tfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=nNazoQW0wQFkJyz3CCTQq2cb9JpYNJ6yU8+6sRjnKGQ=; b=ojdNgAmdWmzB7dyMNMHJEZGedbpqW78N3tmMwMZ2RtWsB1ghuLR8GLs9MXbdFffiKn k5VY9Mo25fBuQzxH+qI2CSu/+NYjpIgg9TbLCXPIo1+p+O1Bye11DOeviRpiQ5ABJD+v GxwC7ioyX1F08W5b7IzaeyD8VqSvrSm3mIvAq0oqkhb/t7wsK6qGBtzMr68KTfERlbfv qObWdjrqgYptTRs6TdtdqwfW/Bl5BaOSzGmp58IvnN0jEQixxgfOutVUFjHNfQG68lEB quKjh+NTXCIcFtMktCrCGyUSlWs1eSczCprS0wHjzU3bszoatJqawavnctXR4UuLL4p8 FTsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gmDmb0dM; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id pk10si12508216ejb.359.2021.05.10.04.32.52; Mon, 10 May 2021 04:33:20 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gmDmb0dM; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235718AbhEJLbG (ORCPT + 99 others); Mon, 10 May 2021 07:31:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:40598 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239112AbhEJLVG (ORCPT ); Mon, 10 May 2021 07:21:06 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id CC8EA6101E; Mon, 10 May 2021 11:19:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1620645601; bh=W7iAKST7BRDMlEttXNNjJ33EX76A4qp8I6GEgdSMv7U=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=gmDmb0dM5IcZQ9rSlubjtF+K7WR5CTuBYzK7hGG8NgJ6VoZl1xWTpOcwkH/5/0zA/ vlx1VxEGYzpDqoIrEOS4Gq4vleDywsH/Tbkz7KjwQOxa0gHoTz3ZfhQBobu6oYwUNn Apktwvurhr0XmVvzqYbUbTW3FMnBkgNdhIrbGi6F2SzZTvdCwG1IcEdUG7Tg53VOjZ rsHYuTEPmzH2qPOyCxJC2wx/q7V+K8nhKe4JHOwCkQGI9ADck3Kw17WLNRkmbFOBip a9pcqsOJVVBc05NJGVPFoJfSO03eP8zjvIV4wRYaZYLrBIVfbDQLgQs1bXlcp7w7lK 9KVTRb7Ve04dg== Date: Mon, 10 May 2021 13:19:50 +0200 From: Mauro Carvalho Chehab To: Thorsten Leemhuis 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: <20210510131950.063f0608@coco.lan> In-Reply-To: References: X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Em Mon, 10 May 2021 12:52:44 +0200 Thorsten Leemhuis escreveu: > On 10.05.21 12:26, Mauro Carvalho Chehab wrote: > > > > As Linux developers are all around the globe, and not everybody has UTF= -8 > > as their default charset, better to use UTF-8 only on cases where it is= really > > needed. > > [=E2=80=A6] > > The remaining patches on series address such cases on *.rst files and=20 > > inside the Documentation/ABI, using this perl map table in order to do = the > > charset conversion: > >=20 > > my %char_map =3D ( > > [=E2=80=A6] > > 0x2013 =3D> '-', # EN DASH > > 0x2014 =3D> '-', # EM DASH =20 > I might be performing bike shedding here, but wouldn't it be better to > replace those two with "--", as explained in > https://en.wikipedia.org/wiki/Dash#Approximating_the_em_dash_with_two_or_= three_hyphens >=20 > For EM DASH there seems to be even "---", but I'd say that is a bit too > much. Yeah, we can do, instead: 0x2013 =3D> '--', # EN DASH 0x2014 =3D> '---', # EM DASH =20 I was actually in doubt about those ;-) Btw, when producing HTML documentation, Sphinx should convert: -- into EN DASH and: --- into EM DASH So, the resulting html will be identical. > Or do you fear the extra work as some lines then might break the > 80-character limit then? No, I suspect that the line size won't be an issue. Some care should taken when EN DASH and EM DASH are used inside tables. Thanks, Mauro