[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: UTF-8 manual pages



On Thu, Oct 11, 2007 at 12:42:49PM -0400, Joey Hess wrote:
> I don't much like any of the switch ideas, since they would probably
> not be able to express all possible collections of man pages (given
> debhelper's current command line parser). The manpage:encoding idea
> could work, but might have ambiguity issues with man pages with colons
> in their name (perl ones have two colons, but I'll bet there are some
> with one).

Mm, yes, colon was a bad choice.

> I'd be ok with DWIM here if it worked the same way man does, perhaps
> by using manconv directly?

manconv is a bit too low-level; you have to tell it the encodings you
want to convert from and to. It can't look at where your manual page is
installed and guess likely encodings from it. I think we need a --recode
option to man that spits out a version of the source manual page in the
requested encoding, without doing .so elimination or any other kind of
preprocessing. Does that sound about right?

-- 
Colin Watson                                       [cjwatson@debian.org]



Reply to: