r7469 - in branches/udev_update/BOOK: . chapter01 chapter03 chapter06

Alexander E. Patrakov patrakov at ums.usu.ru
Thu Mar 30 00:21:36 PST 2006


ken at linuxfromscratch.org 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



More information about the lfs-book mailing list