[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] man page encoding
From: |
Werner LEMBERG |
Subject: |
Re: [Groff] man page encoding |
Date: |
Thu, 07 Jul 2005 11:15:33 +0200 (CEST) |
> >>> This looks like it would conflict with Emacs usage.
> >>
> >> Where is the conflict? This is precisely the syntax for declaring
> >> an encoding to Emacs, and by now Emacs also recognizes standard
> >> encoding names like "GB2312" and "UTF-8".
> >
> > It's also the method to describe a minor mode to Emacs. For
> > example, all my documents start with:
> >
> > .\" This file is in -*- nroff-fill -*- mode
> >
> > More importantly though, you intend this to talk to groff, not to
> > Emacs.
The syntax needs the `coding:' tag; everything else is ignored. I
don't see a problem here.
> > groff defines the term 'request' specially: it refers to the
> > commands that start at the beginning of the line with . or '. I
> > was thinking more like:
> >
> > .Character-Encoding EUC-JP
> >
> > This would incidentally also allow changing the character set in
> > mid-stream, at least syntactically. I suspect there may be
> > reasons that make it impractical.
Exactly. Basically, the encoding of a file is a meta information and
should stayed fixed for the whole document.
Werner