Colin Watson 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.
It's probably still possible to disambiguate, with a tight enough regexp for /:$locale$/ > > 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? Sounds about right, and since you mentioned the coding: directive -- this is a way out of the DWIM if it doesn't DWYM, so dh_installman can just document that as how to override its guesses. -- see shy jo
signature.asc
Description: Digital signature