Hi,
At Wed, 11 Apr 2001 01:23:41 +0200 (CEST),
Werner LEMBERG <[EMAIL PROTECTED]> wrote:
> Almost. They should also add
>
> \# -*- coding: utf8 -*-
>
> as the first line.
I am glad you remember the discussion with me. :-)
> > ERROR: the source document /usr/local/man/man4/whatever.4 contains
> > non-ASCII characters but is apparently not UTF-8 encoded.
> > SOLUTION: Please determine the original encoding of this source
> > document and use "iconv" or a similar recoding tool to convert it
> > to UTF-8.
>
> I won't do this. Man pages not explicitly marked as UTF-8 (or another
> encoding scheme which the encoding preprocessor can handle) will be
> treated as latin1 for backwards compatibility. Since no UTF-8 man
> pages yet exist I will pretend to be God, giving you this as the 11th
> commandment.
The highest priority choice: by command option (like --incode)
The next priority choice: by the emacs-like tag
The third priority choice: by LC_CTYPE or nl_langinfo(CODESET)
The last priority choice: fallback to Latin-1
Thus, my suggestion is the additional third priority choice.
Since groff is a text-processing software, it should be sensible
to LC_CTYPE locale.
> BTW, this preprocessor already exists (written by Tomohiro-san).
Sorry for slow development speed. I will update the preprocessor
(pre/postprocessor) soon. (in groff mailing list.)
---
Tomohiro KUBOTA <[EMAIL PROTECTED]>
http://surfchem0.riken.go.jp/~kubota/
"Introduction to I18N"
http://www.debian.org/doc/manuals/intro-i18n/
-
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/lists/