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

Daniel Burrows dburrows at debian.org
Mon Sep 1 16:49:38 UTC 2008


On Sun, Aug 31, 2008 at 06:08:04PM +0200, Miroslav Kure <kurem at upcase.inf.upol.cz> was heard to say:
> Currently the documentation generated from docbook sources
> is by default encoded to ISO-8859-1 and therefore not very readable
> in UTF-8 environment.
> 
> The following patch changes the output encoding for html and text
> transformations:

  Were you able to verify that this actually works for the text
encoding?  For me, it looks like the text that's generated is still
non-ASCII and non-UTF-8.  This is what I would expect given, e.g.,
bug #178684.  I think that it makes sense to instead set an explicit
charset of ASCII for the text output to avoid the extended characters
docbook generates for quotes and so on.

  For HTML, I think it makes perfect sense to explicitly output UTF-8
and I've committed this change to the head branch.

  Daniel



More information about the Aptitude-devel mailing list