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

Re: Manual pages and UTF-8



On 2004-03-29 15:16:58 +0100, Colin Watson wrote:
> On Mon, Mar 29, 2004 at 03:37:11PM +0200, Vincent Lefevre wrote:
> > On 2004-03-29 14:17:52 +0100, Colin Watson wrote:
> > > On Mon, Mar 29, 2004 at 01:51:26PM +0200, Vincent Lefevre wrote:
> > > > And how about apostrophes? They get translated into some Unicode
> > > > character and searching for strings containing an apostrophe no
> > > > longer works.
> > > 
> > > You can always use LC_CTYPE=C ... really, pagers ought to be
> > > educated.
> > 
> > I'm not sure I understand. If there are *real* Unicode characters
> > in man pages, would they still be displayed?
> 
> No. Direct Unicode groff input isn't supported anyway, mind you, and the
> whole system is a bit of a house of cards there ...

Well, at least the solution should work with ISO-8859-1 (man pages
in French seem to use that).

> > > You can use similar tricks to those in
> > > /usr/share/doc/groff/README.Debian on apostrophes if you like,
> > > though.
> > 
> > I use pod2man, so I don't think I can.
> 
> pod2man doesn't preclude this. It's only configuration for your local
> system.

I thought you meant a trick consisting in generating something in a
man page to prevent the conversion (i.e. fixing the man page).

So, do you mean the trick consisting in editing /etc/groff/man.local
and /etc/groff/mdoc.local? What if one doesn't have a root access?

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/> - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



Reply to: