[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#440420: [PROPOSAL] Manual page encoding



On Sat, Sep 01, 2007 at 02:49:20PM +0200, Kurt Roeckx wrote:
> On Sat, Sep 01, 2007 at 01:02:33PM +0100, Colin Watson wrote:
> > +	  Manual pages that are installed under
> > +	  <file>/usr/share/man/</file><var>ll</var>, where <var>ll</var>
> > +	  is an ISO-639 language code, must be encoded with the usual
> > +	  legacy (non-UTF-8) character set for that language
> [...]
> > +	  Manual pages that are installed under
> > +	  <file>/usr/share/man/</file><var>locale</var>, where
> > +	  <var>locale</var> is a full locale name listed in
> > +	  <file>/usr/share/i18n/SUPPORTED</file>, must be encoded with
> > +	  the character set implied by that locale.
> [...]
> 
> >   2. man-db 2.5.0-1 uploaded, including support for installing pages in
> >      /usr/share/man/<ll>.<codeset>/ (e.g. /usr/share/man/fr.UTF-8). The
> >      basename of this directory is not typically a well-formed locale,
> >      but it is appropriate because it allows a clear specification of
> >      the hierarchy's encoding while applying to all countries using that
> >      language.
> 
> This part doesn't seem to be documented, or should the locale from the
> second case also apply to the not well-formed locale <ll>.<codeset>?

Point 2. above is part of a transition plan that is not yet implemented,
and so isn't part of the policy amendment I'm proposing now. (I only
mentioned it in the same mail to anticipate questions about support for
UTF-8 manual pages.) When it is implemented, I'll propose a further
amendment that requires pages under /usr/share/man/<ll>.<codeset> to be
encoded with <codeset>.

Cheers,

-- 
Colin Watson                                       [cjwatson@debian.org]



Reply to: