Skip to content

Use ASCII subset instead of UTF-8 alternate symbols

Mauro Carvalho Chehab alsa-devel dri-devel intel-gfx intel-wired-lan keyrings kvm linux-acpi linux-arm-kernel linux-doc linux-edac linux-ext4 linux-f2fs-devel linux-hwmon linux-iio linux-input linux-integrity linux-media linux-pci linux-pm linux-rdma linux-sgx linux-usb lkml netdev rcu 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest40 patches 19 repliesIn review

Changes in v2 from the cover letter

- removed EM/EN DASH conversion from this patchset;
- removed a few fixes, as those were addressed on a separate series.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/40docs: hwmon: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/hwmon/ir36021.rst Documentation/hwmon/ltc2992.rst Documentation/hwmon/pm6764tr.rst+3 -30 replies
2/40docs: admin-guide: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/admin-guide/ras.rst Documentation/admin-guide/reporting-issues.rst+44 -440 replies
3/40docs: admin-guide: media: ipu3.rst: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/admin-guide/media/ipu3.rst+1 -10 replies
4/40docs: admin-guide: perf: imx-ddr.rst: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/admin-guide/perf/imx-ddr.rst+1 -10 replies
5/40docs: admin-guide: pm: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/admin-guide/pm/intel_idle.rst Documentation/admin-guide/pm/intel_pstate.rst+4 -41 reply
6/40docs: trace: coresight: coresight-etm4x-reference.rst: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/trace/coresight/coresight-etm4x-reference.rst+8 -80 replies
7/40docs: driver-api: ioctl.rst: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/driver-api/ioctl.rst+4 -40 replies
8/40docs: driver-api: thermal: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/driver-api/thermal/cpu-idle-cooling.rst Documentation/driver-api/thermal/intel_powerclamp.rst Documentation/driver-api/thermal/x86_pkg_temperature_thermal.rst+11 -111 reply
9/40docs: driver-api: media: drivers: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/driver-api/media/drivers/sh_mobile_ceu_camera.rst Documentation/driver-api/media/drivers/zoran.rst+5 -50 replies
10/40docs: driver-api: firmware: other_interfaces.rst: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/driver-api/firmware/other_interfaces.rst+1 -10 replies
11/40docs: fault-injection: nvme-fault-injection.rst: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/fault-injection/nvme-fault-injection.rst+1 -10 replies
12/40docs: usb: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/usb/ehci.rst Documentation/usb/gadget_printer.rst Documentation/usb/mass-storage.rst+20 -200 replies
13/40docs: process: code-of-conduct.rst: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/process/code-of-conduct.rst+1 -10 replies
14/40docs: userspace-api: media: fdl-appendix.rst: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/userspace-api/media/fdl-appendix.rst+32 -320 replies
15/40docs: userspace-api: media: v4l: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/userspace-api/media/v4l/crop.rst Documentation/userspace-api/media/v4l/dev-decoder.rst Documentation/userspace-api/media/v4l/diff-v4l.rst +2 more+15 -150 replies
16/40docs: userspace-api: media: dvb: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/userspace-api/media/dvb/audio-set-bypass-mode.rst Documentation/userspace-api/media/dvb/audio.rst Documentation/userspace-api/media/dvb/dmx-fopen.rst +4 more+9 -90 replies
17/40docs: vm: zswap.rst: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/vm/zswap.rst+2 -20 replies
18/40docs: filesystems: f2fs.rst: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/filesystems/f2fs.rst+2 -20 replies
19/40docs: filesystems: ext4: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/filesystems/ext4/attributes.rst Documentation/filesystems/ext4/bigalloc.rst Documentation/filesystems/ext4/blockgroup.rst +9 more+45 -450 replies
20/40docs: kernel-hacking: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/kernel-hacking/hacking.rst Documentation/kernel-hacking/locking.rst+2 -20 replies
21/40docs: hid: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/hid/hid-sensor.rst Documentation/hid/intel-ish-hid.rst+158 -1580 replies
22/40docs: security: tpm: tpm_event_log.rst: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/security/tpm/tpm_event_log.rst+1 -10 replies
23/40docs: security: keys: trusted-encrypted.rst: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/security/keys/trusted-encrypted.rst+2 -20 replies
24/40docs: networking: scaling.rst: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/networking/scaling.rst+9 -90 replies
25/40docs: networking: devlink: devlink-dpipe.rst: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/networking/devlink/devlink-dpipe.rst+1 -10 replies
26/40docs: networking: device_drivers: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/networking/device_drivers/ethernet/intel/i40e.rst Documentation/networking/device_drivers/ethernet/intel/iavf.rst Documentation/networking/device_drivers/ethernet/netronome/nfp.rst+12 -120 replies
27/40docs: x86: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/x86/resctrl.rst Documentation/x86/sgx.rst+3 -30 replies
28/40docs: scheduler: sched-deadline.rst: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/scheduler/sched-deadline.rst+1 -10 replies
29/40docs: power: powercap: powercap.rst: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/power/powercap/powercap.rst+105 -1051 reply
30/40docs: ABI: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/ABI/testing/sysfs-class-chromeos-driver-cros-ec-lightbar Documentation/ABI/testing/sysfs-devices-platform-ipmi Documentation/ABI/testing/sysfs-devices-platform-trackpoint +1 more+5 -51 reply
31/40docs: PCI: acpi-info.rst: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/PCI/acpi-info.rst+11 -111 reply
32/40docs: gpu: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/gpu/i915.rst Documentation/gpu/komeda-kms.rst+2 -20 replies
33/40docs: sound: kernel-api: writing-an-alsa-driver.rst: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/sound/kernel-api/writing-an-alsa-driver.rst+34 -340 replies
34/40docs: arm64: arm-acpi.rst: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/arm64/arm-acpi.rst+4 -40 replies
35/40docs: infiniband: tag_matching.rst: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/infiniband/tag_matching.rst+2 -20 replies
36/40docs: misc-devices: ibmvmc.rst: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/misc-devices/ibmvmc.rst+4 -40 replies
37/40docs: firmware-guide: acpi: lpit.rst: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/firmware-guide/acpi/lpit.rst+1 -11 reply
38/40docs: firmware-guide: acpi: dsd: graph.rst: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/firmware-guide/acpi/dsd/graph.rst+1 -11 reply
39/40docs: virt: kvm: api.rst: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/virt/kvm/api.rst+14 -140 replies
40/40docs: RCU: Use ASCII subset instead of UTF-8 alternate symbolsDocumentation/RCU/Design/Data-Structures/Data-Structures.rst Documentation/RCU/Design/Expedited-Grace-Periods/Expedited-Grace-Periods.rst Documentation/RCU/Design/Memory-Ordering/Tree-RCU-Memory-Ordering.rst +1 more+112 -1120 replies

Reviews trailers per patch

12 of 40 patches have a Reviewed-by or Acked-by.

PatchJani NikulaLiviu DudauChao YuKrzysztof WilczyńskiTheodore Ts'oPaul E. McKenneyMathieu PoirierRafael J. WysockiSudeep HollaBjorn HelgaasDaniel Lezcano
1/40
2/40
3/40
4/40
5/40A-b
6/40R-b
7/40
8/40A-b
9/40
10/40
11/40
12/40
13/40
14/40
15/40
16/40
17/40
18/40R-b
19/40A-b
20/40
21/40
22/40
23/40
24/40
25/40
26/40
27/40
28/40
29/40A-b
30/40A-b
31/40R-b A-b
32/40A-b A-b
33/40
34/40
35/40
36/40
37/40A-b
38/40A-b
39/40
40/40A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 11 reviewers.

Read the v2 thread

Cover letter [PATCH v2 00/40] Use ASCII subset instead of UTF-8 alternate symbols

This series contain basically a cleanup from all those years of converting files to ReST.

During the conversion period, several tools like LaTeX, pandoc, DocBook and some specially-written scripts were used in order to convert existing documents.

Such conversion tools - plus some text editor like LibreOffice or similar - have a set of rules that turns some typed ASCII characters into UTF-8 alternatives, for instance converting commas into curly commas and adding non-breakable spaces. All of those are meant to produce better results when the text is displayed in HTML or PDF formats.

While it is perfectly fine to use UTF-8 characters in Linux, and specially at the documentation, it is better to stick to the ASCII subset on such particular case, due to a couple of reasons:

1. it makes life easier for tools like grep;
2. they easier to edit with the some commonly used text/source code editors.

Also, Sphinx already do such conversion automatically outside literal blocks, as described at:

https://docutils.sourceforge.io/docs/user/smartquotes.html

In this series, the following UTF-8 symbols are replaced:

- U+00a0 ('?'): NO-BREAK SPACE
- U+00ad ('?'): SOFT HYPHEN
- U+00b4 ('?'): ACUTE ACCENT
- U+00d7 ('?'): MULTIPLICATION SIGN
- U+2010 ('?'): HYPHEN
- U+2018 ('?'): LEFT SINGLE QUOTATION MARK
- U+2019 ('?'): RIGHT SINGLE QUOTATION MARK
- U+201c ('?'): LEFT DOUBLE QUOTATION MARK
- U+201d ('?'): RIGHT DOUBLE QUOTATION MARK
- U+2212 ('?'): MINUS SIGN
- U+2217 ('?'): ASTERISK OPERATOR
- U+feff ('?'): ZERO WIDTH NO-BREAK SPACE (BOM)

---

v2:
- removed EM/EN DASH conversion from this patchset;
- removed a few fixes, as those were addressed on a separate series.

PS.:
The first version of this series was posted with a different name:

	https://lore.kernel.org/lkml/cover.1620641727.git.mchehab+huawei at kernel.org/

I also changed the patch texts, in order to better describe the patches goals.

Mauro Carvalho Chehab (40):
docs: hwmon: Use ASCII subset instead of UTF-8 alternate symbols
docs: admin-guide: Use ASCII subset instead of UTF-8 alternate symbols
docs: admin-guide: media: ipu3.rst: Use ASCII subset instead of UTF-8
alternate symbols
docs: admin-guide: perf: imx-ddr.rst: Use ASCII subset instead of
UTF-8 alternate symbols
docs: admin-guide: pm: Use ASCII subset instead of UTF-8 alternate
symbols
docs: trace: coresight: coresight-etm4x-reference.rst: Use ASCII
subset instead of UTF-8 alternate symbols
docs: driver-api: ioctl.rst: Use ASCII subset instead of UTF-8
alternate symbols
docs: driver-api: thermal: Use ASCII subset instead of UTF-8 alternate
symbols
docs: driver-api: media: drivers: Use ASCII subset instead of UTF-8
alternate symbols
docs: driver-api: firmware: other_interfaces.rst: Use ASCII subset
instead of UTF-8 alternate symbols
docs: fault-injection: nvme-fault-injection.rst: Use ASCII subset
instead of UTF-8 alternate symbols
docs: usb: Use ASCII subset instead of UTF-8 alternate symbols
docs: process: code-of-conduct.rst: Use ASCII subset instead of UTF-8
alternate symbols
docs: userspace-api: media: fdl-appendix.rst: Use ASCII subset instead
of UTF-8 alternate symbols
docs: userspace-api: media: v4l: Use ASCII subset instead of UTF-8
alternate symbols
docs: userspace-api: media: dvb: Use ASCII subset instead of UTF-8
alternate symbols
docs: vm: zswap.rst: Use ASCII subset instead of UTF-8 alternate
symbols
docs: filesystems: f2fs.rst: Use ASCII subset instead of UTF-8
alternate symbols
docs: filesystems: ext4: Use ASCII subset instead of UTF-8 alternate
symbols
docs: kernel-hacking: Use ASCII subset instead of UTF-8 alternate
symbols
docs: hid: Use ASCII subset instead of UTF-8 alternate symbols
docs: security: tpm: tpm_event_log.rst: Use ASCII subset instead of
UTF-8 alternate symbols
docs: security: keys: trusted-encrypted.rst: Use ASCII subset instead
of UTF-8 alternate symbols
docs: networking: scaling.rst: Use ASCII subset instead of UTF-8
alternate symbols
docs: networking: devlink: devlink-dpipe.rst: Use ASCII subset instead
of UTF-8 alternate symbols
docs: networking: device_drivers: Use ASCII subset instead of UTF-8
alternate symbols
docs: x86: Use ASCII subset instead of UTF-8 alternate symbols
docs: scheduler: sched-deadline.rst: Use ASCII subset instead of UTF-8
alternate symbols
docs: power: powercap: powercap.rst: Use ASCII subset instead of UTF-8
alternate symbols
docs: ABI: Use ASCII subset instead of UTF-8 alternate symbols
docs: PCI: acpi-info.rst: Use ASCII subset instead of UTF-8 alternate
symbols
docs: gpu: Use ASCII subset instead of UTF-8 alternate symbols
docs: sound: kernel-api: writing-an-alsa-driver.rst: Use ASCII subset
instead of UTF-8 alternate symbols
docs: arm64: arm-acpi.rst: Use ASCII subset instead of UTF-8 alternate
symbols
docs: infiniband: tag_matching.rst: Use ASCII subset instead of UTF-8
alternate symbols
docs: misc-devices: ibmvmc.rst: Use ASCII subset instead of UTF-8
alternate symbols
docs: firmware-guide: acpi: lpit.rst: Use ASCII subset instead of
UTF-8 alternate symbols
docs: firmware-guide: acpi: dsd: graph.rst: Use ASCII subset instead
of UTF-8 alternate symbols
docs: virt: kvm: api.rst: Use ASCII subset instead of UTF-8 alternate
symbols
docs: RCU: Use ASCII subset instead of UTF-8 alternate symbols

 ...sfs-class-chromeos-driver-cros-ec-lightbar |   2 +-
 .../ABI/testing/sysfs-devices-platform-ipmi   |   2 +-
 .../testing/sysfs-devices-platform-trackpoint |   2 +-
 Documentation/ABI/testing/sysfs-devices-soc   |   4 +-
 Documentation/PCI/acpi-info.rst               |  22 +-
 .../Data-Structures/Data-Structures.rst       |  52 ++--
 .../Expedited-Grace-Periods.rst               |  40 +--
 .../Tree-RCU-Memory-Ordering.rst              |  10 +-
 .../RCU/Design/Requirements/Requirements.rst  | 122 ++++-----
 Documentation/admin-guide/media/ipu3.rst      |   2 +-
 Documentation/admin-guide/perf/imx-ddr.rst    |   2 +-
 Documentation/admin-guide/pm/intel_idle.rst   |   4 +-
 Documentation/admin-guide/pm/intel_pstate.rst |   4 +-
 Documentation/admin-guide/ras.rst             |  86 +++---
 .../admin-guide/reporting-issues.rst          |   2 +-
 Documentation/arm64/arm-acpi.rst              |   8 +-
 .../driver-api/firmware/other_interfaces.rst  |   2 +-
 Documentation/driver-api/ioctl.rst            |   8 +-
 .../media/drivers/sh_mobile_ceu_camera.rst    |   8 +-
 .../driver-api/media/drivers/zoran.rst        |   2 +-
 .../driver-api/thermal/cpu-idle-cooling.rst   |  14 +-
 .../driver-api/thermal/intel_powerclamp.rst   |   6 +-
 .../thermal/x86_pkg_temperature_thermal.rst   |   2 +-
 .../fault-injection/nvme-fault-injection.rst  |   2 +-
 Documentation/filesystems/ext4/attributes.rst |  20 +-
 Documentation/filesystems/ext4/bigalloc.rst   |   6 +-
 Documentation/filesystems/ext4/blockgroup.rst |   8 +-
 Documentation/filesystems/ext4/blocks.rst     |   2 +-
 Documentation/filesystems/ext4/directory.rst  |  16 +-
 Documentation/filesystems/ext4/eainode.rst    |   2 +-
 Documentation/filesystems/ext4/inlinedata.rst |   6 +-
 Documentation/filesystems/ext4/inodes.rst     |   6 +-
 Documentation/filesystems/ext4/journal.rst    |   8 +-
 Documentation/filesystems/ext4/mmp.rst        |   2 +-
 .../filesystems/ext4/special_inodes.rst       |   4 +-
 Documentation/filesystems/ext4/super.rst      |  10 +-
 Documentation/filesystems/f2fs.rst            |   4 +-
 .../firmware-guide/acpi/dsd/graph.rst         |   2 +-
 Documentation/firmware-guide/acpi/lpit.rst    |   2 +-
 Documentation/gpu/i915.rst                    |   2 +-
 Documentation/gpu/komeda-kms.rst              |   2 +-
 Documentation/hid/hid-sensor.rst              |  70 ++---
 Documentation/hid/intel-ish-hid.rst           | 246 +++++++++---------
 Documentation/hwmon/ir36021.rst               |   2 +-
 Documentation/hwmon/ltc2992.rst               |   2 +-
 Documentation/hwmon/pm6764tr.rst              |   2 +-
 Documentation/infiniband/tag_matching.rst     |   4 +-
 Documentation/kernel-hacking/hacking.rst      |   2 +-
 Documentation/kernel-hacking/locking.rst      |   2 +-
 Documentation/misc-devices/ibmvmc.rst         |   8 +-
 .../device_drivers/ethernet/intel/i40e.rst    |   8 +-
 .../device_drivers/ethernet/intel/iavf.rst    |   4 +-
 .../device_drivers/ethernet/netronome/nfp.rst |  12 +-
 .../networking/devlink/devlink-dpipe.rst      |   2 +-
 Documentation/networking/scaling.rst          |  18 +-
 Documentation/power/powercap/powercap.rst     | 210 +++++++--------
 Documentation/process/code-of-conduct.rst     |   2 +-
 Documentation/scheduler/sched-deadline.rst    |   2 +-
 .../security/keys/trusted-encrypted.rst       |   4 +-
 Documentation/security/tpm/tpm_event_log.rst  |   2 +-
 .../kernel-api/writing-an-alsa-driver.rst     |  68 ++---
 .../coresight/coresight-etm4x-reference.rst   |  16 +-
 Documentation/usb/ehci.rst                    |   2 +-
 Documentation/usb/gadget_printer.rst          |   2 +-
 Documentation/usb/mass-storage.rst            |  36 +--
 .../media/dvb/audio-set-bypass-mode.rst       |   2 +-
 .../userspace-api/media/dvb/audio.rst         |   2 +-
 .../userspace-api/media/dvb/dmx-fopen.rst     |   2 +-
 .../userspace-api/media/dvb/dmx-fread.rst     |   2 +-
 .../media/dvb/dmx-set-filter.rst              |   2 +-
 .../userspace-api/media/dvb/intro.rst         |   6 +-
 .../userspace-api/media/dvb/video.rst         |   2 +-
 .../userspace-api/media/fdl-appendix.rst      |  64 ++---
 .../userspace-api/media/v4l/crop.rst          |  16 +-
 .../userspace-api/media/v4l/dev-decoder.rst   |   6 +-
 .../userspace-api/media/v4l/diff-v4l.rst      |   2 +-
 .../userspace-api/media/v4l/open.rst          |   2 +-
 .../media/v4l/vidioc-cropcap.rst              |   4 +-
 Documentation/virt/kvm/api.rst                |  28 +-
 Documentation/vm/zswap.rst                    |   4 +-
 Documentation/x86/resctrl.rst                 |   2 +-
 Documentation/x86/sgx.rst                     |   4 +-
 82 files changed, 693 insertions(+), 693 deletions(-)
Signature · 1 line
2.30.2