Hi,
At Wed, 11 Apr 2001 14:56:32 +0200,
Pablo Saratxaga <[EMAIL PROTECTED]> wrote:
> How exactly, eg:
>
> .\" -*- coding: iso-8859-1 -*-
Yes.
> > This info will then be forwarded to a preprocessor
> > which converts the man page to UTF-8.
>
> But the output requested by the user may be different of utf-8.
> Is it planned to add conversion capabilities?
Encoding for INPUT is determined as following:
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, i.e., nl_langinfo(CODESET)
The last priority choice: fallback to Latin-1
Encoding for OUTPUT is determined as following:
The highest priority choice: by command option (like --outcode)
The next priority choice: by LC_CTYPE, i.e., nl_langinfo(CODESET)
The last priority choice: fallback to ASCII (or Latin-1)
Fallback into Latin-1 might be better because I think all non-Latin-1
people know about locale. (Latin-1 users sometimes don't know about
locale.)
---
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/