[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] -T html: \- rendered as something different than ASCII 45
From: |
G. Branden Robinson |
Subject: |
Re: [BUG] -T html: \- rendered as something different than ASCII 45 |
Date: |
Tue, 25 Jan 2022 17:08:30 +1100 |
User-agent: |
NeoMutt/20180716 |
Hi Alex,
At 2022-01-24T23:35:11+0100, Alejandro Colomar (man-pages) wrote:
> (D'oh! I used the wrong email address for all of these mails :-/)
Don't worry--I've made sure to reply to the right one. :)
> On 1/24/22 22:13, Alejandro Colomar wrote:
> I found (by accideent) that plain -, which is translated by `groff -T
> html` into plain -, is represented by both firefox and chrome by ASCII
> 45. When copy-pasted into the terminal, I can execute the command.
>
> It's \-, which is translated by groff into −, which is
> understood as a weird character, contrary to the expectations.
Right. For precise consistency with the UTF-8 device, and better
consistency with *roff documents in general, - should map to &hyphen,
and \- to the basic Latin hyphen-minus ("ASCII 45").
Regards,
Branden
signature.asc
Description: PGP signature