From 305883810ad19d1ef8fd98c04b223e57f8533e6b Mon Sep 17 00:00:00 2001 From: Petr Pucil Date: Sun, 10 Jan 2021 23:43:16 +0100 Subject: [PATCH] Replace non-ASCII characters with ASCII equivalents (to improve portability and consistency) The only UTF-8 code points left are in the `macos/compressed_resource.ksy`, where it kind of makes sense. --- executable/uefi_te.ksy | 2 +- filesystem/vfat.ksy | 2 +- font/ttf.ksy | 2 +- hardware/edid.ksy | 4 ++-- image/gif.ksy | 2 +- media/quicktime_mov.ksy | 6 +++--- network/hccapx.ksy | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/executable/uefi_te.ksy b/executable/uefi_te.ksy index 9baebaa8b..beebe5a75 100644 --- a/executable/uefi_te.ksy +++ b/executable/uefi_te.ksy @@ -16,7 +16,7 @@ meta: doc: | This type of executables could be found inside the UEFI firmware. The UEFI firmware is stored in SPI flash memory, which is a chip soldered on a - system’s motherboard. UEFI firmware is very modular: it usually contains + system's motherboard. UEFI firmware is very modular: it usually contains dozens, if not hundreds, of executables. To store all these separates files, the firmware is laid out in volumes using the Firmware File System (FFS), a file system specifically designed to store firmware images. The volumes diff --git a/filesystem/vfat.ksy b/filesystem/vfat.ksy index 10a1687c0..7d8770430 100644 --- a/filesystem/vfat.ksy +++ b/filesystem/vfat.ksy @@ -129,7 +129,7 @@ types: type: u2 doc: | Physical sectors per track for disks with INT 13h CHS - geometry, e.g., 15 for a “1.20 MB” (1200 KB) floppy. A zero + geometry, e.g., 15 for a "1.20 MB" (1200 KB) floppy. A zero entry indicates that this entry is reserved, but not used. - id: num_heads -orig-id: BPB_NumHeads diff --git a/font/ttf.ksy b/font/ttf.ksy index f02c6623a..d863750e5 100644 --- a/font/ttf.ksy +++ b/font/ttf.ksy @@ -633,7 +633,7 @@ types: 2: restricted_license_embedding # Preview & Print embedding: When this bit is set, the font may be embedded, # and temporarily loaded on the remote system. Documents containing Preview - # & Print fonts must be opened “read-only;” no edits can be applied to the document. + # & Print fonts must be opened "read-only;" no edits can be applied to the document. 4: preview_and_print_embedding # Editable embedding: When this bit is set, the font may be embedded and # temporarily loaded on other systems. Documents containing Editable fonts diff --git a/hardware/edid.ksy b/hardware/edid.ksy index 6cb43b43e..89d76edc1 100644 --- a/hardware/edid.ksy +++ b/hardware/edid.ksy @@ -22,7 +22,7 @@ seq: doc: Week of manufacture. Week numbering is not consistent between manufacturers. - id: mfg_year_mod type: u1 - doc: Year of manufacture, less 1990. (1990–2245). If week=255, it is the model year instead. + doc: Year of manufacture, less 1990. (1990-2245). If week=255, it is the model year instead. - id: edid_version_major type: u1 doc: EDID version, usually 1 (for 1.3) @@ -39,7 +39,7 @@ seq: doc: Maximum vertical image size, in centimetres. If either byte is 0, undefined (e.g. projector) - id: gamma_mod type: u1 - doc: Display gamma, datavalue = (gamma*100)-100 (range 1.00–3.54) + doc: Display gamma, datavalue = (gamma*100)-100 (range 1.00-3.54) - id: features_flags type: u1 - id: chromacity diff --git a/image/gif.ksy b/image/gif.ksy index 8567711c0..216afc924 100644 --- a/image/gif.ksy +++ b/image/gif.ksy @@ -20,7 +20,7 @@ doc: | GIF format allows encoding of palette-based images up to 256 colors (each of the colors can be chosen from a 24-bit RGB - colorspace). Image data stream uses LZW (Lempel–Ziv–Welch) lossless + colorspace). Image data stream uses LZW (Lempel-Ziv-Welch) lossless compression. Over the years, several version of the format were published and diff --git a/media/quicktime_mov.ksy b/media/quicktime_mov.ksy index 8a11b88df..2acbf3ed4 100644 --- a/media/quicktime_mov.ksy +++ b/media/quicktime_mov.ksy @@ -78,7 +78,7 @@ types: type: u4 doc: | A time value that indicates the time scale for this - movie—that is, the number of time units that pass per second + movie - the number of time units that pass per second in its time coordinate system. A time coordinate system that measures time in sixtieths of a second, for example, has a time scale of 60. @@ -87,14 +87,14 @@ types: doc: | A time value that indicates the duration of the movie in time scale units. Note that this property is derived from - the movie’s tracks. The value of this field corresponds to + the movie's tracks. The value of this field corresponds to the duration of the longest track in the movie. - id: preferred_rate type: fixed32 doc: The rate at which to play this movie. A value of 1.0 indicates normal rate. - id: preferred_volume type: fixed16 - doc: How loud to play this movie’s sound. A value of 1.0 indicates full volume. + doc: How loud to play this movie's sound. A value of 1.0 indicates full volume. - id: reserved1 size: 10 - id: matrix diff --git a/network/hccapx.ksy b/network/hccapx.ksy index 572f60e00..032c7dd4c 100644 --- a/network/hccapx.ksy +++ b/network/hccapx.ksy @@ -52,7 +52,7 @@ types: be able to crack the hash. On the other hand, it could be very important to know if - “only” message 1 and message 2 were captured or if for + "only" message 1 and message 2 were captured or if for instance message 3 and/or message 4 were captured too. If message 3 and/or message 4 were captured it should be a hard evidence that the connection was established and that the