[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] [patch] Typographic quotes in -mdoc %T
From: |
Keith Marshall |
Subject: |
Re: [Groff] [patch] Typographic quotes in -mdoc %T |
Date: |
Thu, 06 Nov 2014 16:26:15 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
On 06/11/14 13:57, Werner LEMBERG wrote:
> groff uses different quotes depending on -Tascii or -Tutf8:
Naturally. UTF-8 is a multibyte character encoding; ASCII is strictly
single byte (using only seven bits).
> devascii: lq "
Which is ASCII code 34 (0x22)
> devlatin1: lq "
Again, looks the same as ASCII code 34.
> devutf8: lq u201C (via `glyphuni.cpp')
And this is way outside the range of any 7-bit encoding, (it needs
fourteen bits plus UTF-8 encoding overhead spreading it across three
bytes), so has no ASCII representation.
> Using \*[Lq] and \*[Rq] in Anthony's patch is definitely correct.
I don't disagree. However, Anthony clearly *is* confused, for he claims
to refer to ASCII output on UTF-8 devices. It may seem pedantic, but a
confusingly expressed objective must perpetuate confusion. While ASCII
may be a proper subset of UTF-8, it is a limited subset: it offers only
two choices for representation of quotes, viz. code 34 (double quote)
and code 39 (single quote or apostrophe).
- [Groff] [patch] Typographic quotes in -mdoc %T, Anthony J. Bentley, 2014/11/06
- Re: [Groff] [patch] Typographic quotes in -mdoc %T, Carsten Kunze, 2014/11/06
- Re: [Groff] [patch] Typographic quotes in -mdoc %T, Anthony J. Bentley, 2014/11/06
- Re: [Groff] [patch] Typographic quotes in -mdoc %T, Carsten Kunze, 2014/11/06
- Re: [Groff] [patch] Typographic quotes in -mdoc %T, Tadziu Hoffmann, 2014/11/06
- Re: [Groff] [patch] Typographic quotes in -mdoc %T, Anthony J. Bentley, 2014/11/06
- Re: [Groff] [patch] Typographic quotes in -mdoc %T, Keith Marshall, 2014/11/06
- Re: [Groff] [patch] Typographic quotes in -mdoc %T, Anthony J. Bentley, 2014/11/06
- Re: [Groff] [patch] Typographic quotes in -mdoc %T, Werner LEMBERG, 2014/11/06
- Re: [Groff] [patch] Typographic quotes in -mdoc %T,
Keith Marshall <=
- Re: [Groff] [patch] Typographic quotes in -mdoc %T, Ralph Corderoy, 2014/11/06
- Re: [Groff] [patch] Typographic quotes in -mdoc %T, Anthony J. Bentley, 2014/11/06
- Re: [Groff] [patch] Typographic quotes in -mdoc %T, Keith Marshall, 2014/11/06
- Re: [Groff] [patch] Typographic quotes in -mdoc %T, Tadziu Hoffmann, 2014/11/06
- Re: [Groff] [patch] Typographic quotes in -mdoc %T, Steffen Nurpmeso, 2014/11/06
- Re: [Groff] [patch] Typographic quotes in -mdoc %T, Tadziu Hoffmann, 2014/11/06
- Re: [Groff] [patch] Typographic quotes in -mdoc %T, Werner LEMBERG, 2014/11/06
- Re: [Groff] [patch] Typographic quotes in -mdoc %T, Tadziu Hoffmann, 2014/11/06
- Re: [Groff] [patch] Typographic quotes in -mdoc %T, Werner LEMBERG, 2014/11/06
- Re: [Groff] [patch] Typographic quotes in -mdoc %T, Ralph Corderoy, 2014/11/09