[Aptitude-devel] All documentation should be in UTF-8 encoding

Miroslav Kure kurem at upcase.inf.upol.cz
Tue Sep 2 08:40:09 UTC 2008


On Mon, Sep 01, 2008 at 07:16:49AM -0700, Daniel Burrows wrote:
> 
>   Thanks for pointing that out.  One question:
> 
> > --- a/doc/aptitude-html.xsl	Mon Aug 25 16:10:25 2008 +0200
> > +++ b/doc/aptitude-html.xsl	Sun Aug 31 17:58:10 2008 +0200
> 
>   [snip]
> 
> > +<xsl:param name="chunker.output.encoding" select="'utf-8'"/>
> 
>   [snip]
> 
> > --- a/doc/aptitude-txt.xsl	Mon Aug 25 16:10:25 2008 +0200
> > +++ b/doc/aptitude-txt.xsl	Sun Aug 31 17:58:10 2008 +0200
> 
>   [snip]
> 
> > +<xsl:output method="html" encoding="UTF-8" indent="no"/>
> 
>   Both the text and the HTML modes generate HTML as output, and they
> use the same stylesheet.  Is there a reason you used different
> techniques to set the output encoding in each case?

Yes, there is a reason. One output uses one-big-file, the other splits
the document into several files (chunks). Unfortunately, both methods
use different options. More about this can be found at
http://www.sagehill.net/docbookxsl/OutputEncoding.html

-- 
Miroslav Kure



More information about the Aptitude-devel mailing list