public inbox for mlmmj@mlmmj.org
 help / color / mirror / Atom feed
From: Ben Schmidt <mail_ben_schmidt@yahoo.com.au>
To: mlmmj@mlmmj.org
Subject: Re: [mlmmj] [patch] man page fixes
Date: Mon, 23 Jan 2012 16:39:23 +0000	[thread overview]
Message-ID: <4F1D8D3B.9090707@yahoo.com.au> (raw)
In-Reply-To: <4F1BD224.40908@goirand.fr>

Hi, Thomas,

>> It seems Debian is non-standard in requiring UTF-8 man pages, as Groff
>> does not support UTF-8 input:
>> http://www.gnu.org/software/groff/manual/html_node/Input-Encodings.html
>
> From the same page:
> "By its very nature, -Tutf8 supports all input encodings"
>
> So it's absolutely standard (and recommended).

My interpretation of this is, "When the output/terminal encoding is
UTF-8, naturally all supported input encodings can be accommodated,
since Unicode is a superset of them all." (The paragraph then explains
how other output encodings have restrictions on which input encodings
they can accommodate.)

That doesn't by any means mean that UTF-8 is a supported input encoding.
On the contrary, since it's not on the list of supported input
encodings, and there is no documentation regarding how to instruct groff
that its input is UTF-8, I believe it isn't. If Debian supports it, they
must have patched groff, or just be happily sweeping the issue under the
carpet (if groff thinks everything is Latin-1 I presume it will just
handle text transparently, so it might not matter if it is actually fed
and outputs UTF-8 rather than Latin-1--until complicated wrapping or
collation gets involved).

>> So I'll replace ø with \[/o] and everything should be good, though a
>> little ugly.
>
> I'm happy if you've found a solution, however, I still think UTF-8 is
> the only choice.

I would prefer UTF-8, too, but I can't find any solid evidence that it
is officially supported upstream.

> P.S: Please do *not* Cc: me, I'm registered to the list.

Yeah, sorry about that. I keep trying to remember but only get it right
occasionally.

Ben.





  parent reply	other threads:[~2012-01-23 16:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-22  9:08 [mlmmj] [patch] man page fixes Thomas Goirand
2012-01-22 13:56 ` Ben Schmidt
2012-01-22 19:13 ` Thomas Goirand
2012-01-23  0:37 ` Ben Schmidt
2012-01-23  2:06 ` Ben Schmidt
2012-01-23  7:11 ` Thomas Goirand
2012-01-23 16:39 ` Ben Schmidt [this message]
2012-01-24  6:17 ` Mads Martin Jørgensen
2012-01-27  4:47 ` Thomas Goirand
2012-01-27  5:37 ` Ben Schmidt

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=4F1D8D3B.9090707@yahoo.com.au \
    --to=mail_ben_schmidt@yahoo.com.au \
    --cc=mlmmj@mlmmj.org \
    /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