Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4256871pxj; Wed, 12 May 2021 01:16:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzfEK2qHVFdtwvhtiIXZMr1r4xmJGrsnik5B9UF5xj1sgKrsqaCoioT7Nk96kBET8BpvXXI X-Received: by 2002:a17:907:3f1c:: with SMTP id hq28mr35841981ejc.349.1620807381788; Wed, 12 May 2021 01:16:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620807381; cv=none; d=google.com; s=arc-20160816; b=ef8wbZqJw7vs7YwmBnCnCh6xyhD3c2xPgsTRFLyWzcveUjBDldTDnOQbv7HMaAyQ1c o76wgVi4NnK5+9xmcbi6kqEgZMAGVSv2z7Ygi+7JvvoPKSJuDxsqRMStVaEBSUZ1ezE/ ERabGjQ7KPGDoK7jB4AUGQQV3K0Y5/iGDvC3mZ0UllGLi6Kx4YgxyFc1Etf5DHVfdaM3 I4tvLHiUnfMBb8IrOsny0BUzDmVzbcYrv/8ltjr5tU6dnd/BOJZeYJYZGo/O6fTIDLVl BOi0H7MjPF5etlUUGSFI/OJsDgeN0RY9gURLQj8CgqJgsimtvYyMraoIGGJt5o089R46 3ytQ== 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=vmVhu+TQL7y6XJRZUGK4zVYxebzyweNDT3CL6Yaa5y4=; b=TQ2GnCYutyhNW9+CCH9ZQ451XShMDiEzAnuukmE5o9U/+bfI7PzwFLb1HWypJOdo3X N0p9yZeWlPTCew/Ptv7A4gdyKzE0DIQZ3PAUpu5RMYa7ao3ebowq74fqfG+lrkQhLwCV fp7RWoB15TOUt30PyLqcQ+nGshO77xMoQUrQD/FduVKYb05jwnHglsE5WnlOMP3eIYsY OF0U667l+biQVFC0ipG2uRhdsM55QpDRUhydVgQqPYQ0Gard3Mh2sfkF2PutS8LgmCfv wthCDNnT6E1FWYDpyaFVPQ/I/Ab3cpYIavv7SrZH9mN0txseD4W4tUkOJi18J3OAFuj7 YWSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gcHovoQQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 ly12si5171350ejb.177.2021.05.12.01.15.57; Wed, 12 May 2021 01:16:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=gcHovoQQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S230154AbhELIPp (ORCPT + 99 others); Wed, 12 May 2021 04:15:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:33804 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229968AbhELIPo (ORCPT ); Wed, 12 May 2021 04:15:44 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4DD40613C0; Wed, 12 May 2021 08:14:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1620807276; bh=NpIFlszRtKWRCTyCPgKhgBzC2KWJNOHscSYvFzJ1CcM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=gcHovoQQ2+ccEfVf0QZz6L1Z9eyxVOZqPyh/OWDH/9HlxcWhr0asX/mnwSelJQv3j uRKdfk4dCN9VDJUUi9cQFDPJFLC5MOEZRgYDu7876eKnzMfx96tuY+AOBQhgNXgRqq O0VkKLyeiCsapUUwVIpD0e55mK9h8jCrf4pkR3QBTmjOohZWcyIyGvXp02+6lNPIAl Xcqacc/pA8b87BkY6j4R3Rv2gvFl/hM2E7N5ksHXOGn5OnjJ5IHB53gYO7+cYg4saO B4NHdM7WUwiskhlPuAhbfHHXB3YNA1jiSkUMAla6fcevqt/aquFbf+nHF58yEcYKq0 JhH3Y7aIkNSgg== Date: Wed, 12 May 2021 10:14:32 +0200 From: Mauro Carvalho Chehab To: David Gow Cc: Linux Doc Mailing List , Jonathan Corbet , Daniel Latypov , Marco Elver , Linux Kernel Mailing List Subject: Re: [PATCH 39/53] docs: dev-tools: testing-overview.rst: avoid using UTF-8 chars Message-ID: <20210512101432.32f91125@coco.lan> In-Reply-To: References: <1591224255d095d14ff3bc2bf4e7796dcc55c77d.1620641727.git.mchehab+huawei@kernel.org> 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-kernel@vger.kernel.org Em Tue, 11 May 2021 07:35:29 +0800 David Gow escreveu: > On Mon, May 10, 2021 at 6:27 PM Mauro Carvalho Chehab > wrote: > > > > While UTF-8 characters can be used at the Linux documentation, > > the best is to use them only when ASCII doesn't offer a good replacemen= t. > > So, replace the occurences of the following UTF-8 characters: > > > > - U+2014 ('=E2=80=94'): EM DASH > > > > Signed-off-by: Mauro Carvalho Chehab > > --- =20 >=20 > Oh dear, I do have a habit of overusing em-dashes. I've no problem in > theory with exchanging them for an ASCII approximation. > I suppose there's a reason it's the one dash to rule them all: :-) > https://twitter.com/FakeUnicode/status/727888721312260096/photo/1 No, there's no such rule, although there's a preference to keep the texts easy to edit/read as text files[1]. The main rationale for this series is that the conversion from other formats to ReST ended introducing a lot of UTF-8 noise. [1] IMO, the best is to use UTF-8 characters for symbols that aren't properly represented in ASCII, like Latin accents, Greek letters, etc. In the specific case of dashes, you can use: "--" for EN DASH "---" for EM DASH Those will automatically be translated by Sphinx when building=20 the docs. Using ASCII there usually makes life simpler for developers whose editors can't easily type EN/EM DASH. Btw, Sphinx will also replace commas to curly commas automatically on its output (except for literal blocks). Thanks, Mauro