All of lore.kernel.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 02:06:57 +0000	[thread overview]
Message-ID: <4F1CC0C1.2070402@yahoo.com.au> (raw)
In-Reply-To: <4F1BD224.40908@goirand.fr>

>> All man pages should be using UTF-8 in Debian, and I believe that you
>> should have your mac to use UTF-8 if possible. If not, do we care? Is
>> MLMMJ used in the Apple platform?
>>
>> Also, what type of encoding do you use? Why is your encoding more valid
>> than UTF-8? What if the user is let's say Chinese, Russian, or who knows?
>>
>> It really doesn't make sense to use any type of specific encoding,
>> everyone should be using UTF-8, IMO.
>
> I agree, it makes sense for everyone to use UTF-8 these days. However,
> I'd prefer not to expect or assume that. I didn't mention my system
> because I think it is particularly important, but simply to point out
> that there is at least one system out there that this change will break.
> There may be others. I would like to find a way to make this change that
> won't break any system. Does anyone know how to do this, or another
> project that has solved this problem whose work we can copy or imitate?

I think I've solved this.

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

However, Groff supports character escapes which can be used compatibly:
http://manpages.ubuntu.com/manpages/gutsy/man7/groff_char.7.html
http://manpages.debian.net/cgi-bin/man.cgi?query=groff_char&apropos=0&sektion=0&manpathÞbian+6.0+squeeze&format=html&locale=en

So I'll replace ø with \[/o] and everything should be good, though a
little ugly.

Cheers,

Ben.





  parent reply	other threads:[~2012-01-23  2:06 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 [this message]
2012-01-23  7:11 ` Thomas Goirand
2012-01-23 16:39 ` Ben Schmidt
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=4F1CC0C1.2070402@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.