public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: Alejandro Colomar <alx.manpages@gmail.com>
To: Helge Kreutzmann <debian@helgefjell.de>
Cc: mario.blaettermann@gmail.com, linux-man@vger.kernel.org
Subject: Re: Issue in man page charsets.7
Date: Sun, 5 Feb 2023 15:28:45 +0100	[thread overview]
Message-ID: <1482b0cf-cb89-76a3-ca33-ad9b29ef21f5@gmail.com> (raw)
In-Reply-To: <20230122193133.GA29311@Debian-50-lenny-64-minimal>


[-- Attachment #1.1: Type: text/plain, Size: 3412 bytes --]

Hi Helge,

On 1/22/23 20:31, Helge Kreutzmann wrote:
> Without further ado, the following was found:
> 
> Issue:    ISO → ISO/IEC

Please someone write a documented patch for this one.

Cheers,

Alex

> 
> "ASCII (American Standard Code For Information Interchange) is the original 7-"
> "bit character set, originally designed for American English.  Also known as"
> "US-ASCII.  It is currently described by the ISO 646:1991 IRV (International"
> "Reference Version) standard."
> 
> "The ISO 2022 and 4873 standards describe a font-control model based on VT100"
> "practice.  This model is (partially) supported by the Linux kernel and by"
> "B<xterm>(1).  Several ISO 2022-based character encodings have been defined,"
> "especially for Japanese."
> 
> "A 94-character set is designated as GI<n> character set by an escape"
> "sequence ESC ( xx (for G0), ESC ) xx (for G1), ESC * xx (for G2), ESC + xx"
> "(for G3), where xx is a symbol or a pair of symbols found in the ISO 2375"
> "International Register of Coded Character Sets.  For example, ESC ( @"
> "selects the ISO 646 character set as G0, ESC ( A selects the UK standard"
> "character set (with pound instead of number sign), ESC ( B selects ASCII"
> "(with dollar instead of currency sign), ESC ( M selects a character set for"
> "African languages, ESC ( ! A selects the Cuban character set, and so on."
> 
> "ISO 4873 stipulates a narrower use of character sets, where G0 is fixed"
> "(always ASCII), so that G1, G2, and G3 can be invoked only for codes with"
> "the high order bit set.  In particular, B<\\(haN> and B<\\(haO> are not used"
> "anymore, ESC ( xx can be used only with xx=B, and ESC ) xx, ESC * xx, ESC +"
> "xx are equivalent to ESC - xx, ESC . xx, ESC / xx, respectively."
> 
> "Unicode (ISO 10646) is a standard which aims to unambiguously represent"
> "every character in every human language.  Unicode's structure permits 20.1"
> "bits to encode every character.  Since most computers don't include 20.1-bit"
> "integers, Unicode is usually encoded as 32-bit integers internally and"
> "either a series of 16-bit integers (UTF-16) (needing two 16-bit integers"
> "only when encoding certain rare characters) or a series of 8-bit bytes"
> "(UTF-8)."
> 
> "A byte 110xxxxx is the start of a 2-byte code, and 110xxxxx 10yyyyyy is"
> "assembled into 00000xxx xxyyyyyy.  A byte 1110xxxx is the start of a 3-byte"
> "code, and 1110xxxx 10yyyyyy 10zzzzzz is assembled into xxxxyyyy yyzzzzzz."
> "(When UTF-8 is used to code the 31-bit ISO 10646 then this progression"
> "continues up to 6-byte codes.)"
> 
> "For most texts in ISO 8859 character sets, this means that the characters"
> "outside of ASCII are now coded with two bytes.  This tends to expand"
> "ordinary text files by only one or two percent.  For Russian or Greek texts,"
> "this expands ordinary text files by 100%, since text in those languages is"
> "mostly outside of ASCII.  For Japanese users this means that the 16-bit"
> "codes now in common use will take three bytes.  While there are algorithmic"
> "conversions from some character sets (especially ISO 8859-1) to Unicode,"
> "general conversion requires carrying around conversion tables, which can be"
> "quite large for 16-bit codes."

-- 
<http://www.alejandro-colomar.es/>
GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2023-02-05 14:28 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-22 19:31 Issue in man page charsets.7 Helge Kreutzmann
2023-02-05 14:28 ` Alejandro Colomar [this message]
2023-02-05 14:49   ` Helge Kreutzmann
  -- strict thread matches above, loose matches on Subject: below --
2023-01-22 19:31 Helge Kreutzmann
2023-01-22 19:31 Helge Kreutzmann
2023-01-29 16:45 ` Stefan Puiu
2023-01-29 18:35   ` Alejandro Colomar
2023-01-29 19:20     ` Bernd Petrovitsch
2023-01-29 19:29       ` Alejandro Colomar
2023-01-31 10:56         ` Stefan Puiu
2023-03-11 17:13 Helge Kreutzmann
2023-03-11 17:13 Helge Kreutzmann
2023-03-11 23:27 ` Alejandro Colomar
2023-03-12  5:14   ` Helge Kreutzmann
2023-03-12 11:28     ` Alejandro Colomar
2023-03-11 17:13 Helge Kreutzmann
2023-03-11 23:26 ` Alejandro Colomar
2023-03-12  5:08   ` Helge Kreutzmann
2023-03-11 17:13 Helge Kreutzmann
2023-03-11 17:13 Helge Kreutzmann
2023-03-11 17:14 Helge Kreutzmann
2023-03-11 17:14 Helge Kreutzmann
2023-11-01 14:02 Helge Kreutzmann
2023-11-11 19:38 ` Alejandro Colomar
2023-11-11 19:45   ` Helge Kreutzmann
2024-01-28 20:22     ` Alejandro Colomar
2024-01-28 20:32       ` Helge Kreutzmann
2023-11-01 14:02 Helge Kreutzmann
2023-11-01 14:02 Helge Kreutzmann
2023-11-01 14:02 Helge Kreutzmann
2023-11-01 14:02 Helge Kreutzmann
2024-11-17 10:46 Helge Kreutzmann
2024-11-17 14:47 ` Alejandro Colomar
2024-11-17 15:07   ` Helge Kreutzmann
2024-11-17 15:16     ` Alejandro Colomar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1482b0cf-cb89-76a3-ca33-ad9b29ef21f5@gmail.com \
    --to=alx.manpages@gmail.com \
    --cc=debian@helgefjell.de \
    --cc=linux-man@vger.kernel.org \
    --cc=mario.blaettermann@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox