[EMAIL PROTECTED] wrote:
+    the table below. It will not help if you are using a UTF-8 locale.

No, it will. Man-DB, unlike Man, expects the manual page to be in the encoding in the table below, even if this disagrees with the locale encoding. So in UTF-8 locales, a conversion from that encoding to the locale encoding will be performed by Man-DB. That's exactly the reason why Man-DB is in the book: it displays any standard-enough manual page in any locale without extra configuration. UTF-8 manual pages are just not standard enough.

Expecting some public documents (like manual pages) to be in the locale encoding is a stupid idea, because two different users with different locale encodings won't agree upon the expected encoding of a public document. Such documents have to be either tagged (currently impossible for manual pages, but required for HTML), or to be in the agreed-upon encoding (that's what Man-DB implements).

--
Alexander E. Patrakov
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to