* Colin Watson <cjwat...@debian.org>, 2009-06-21, 22:59:
- docbook stylesheet should be adding encoding declarations to the
generated manpages.
As I noted in the comment you linked to earlier
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=519209#51), that's
only necessary if you're using something other than UTF-8 or the legacy
encoding for the relevant language.
docbook-xsl can produce manpages in other encodings, too, so my wish is still relevant.

There's no actual *problem* with adding a UTF-8 encoding declaration,
but it will not help with this bug, and once this bug is fixed it will
not be necessary for an encoding declaration to be present in order to
take advantage of the fix. manconv already has pretty reliable heuristic
detection of UTF-8; in fact, this is a large part of its purpose in
life.
In fact, adding UTF-8 encoding declaration could (minimally) help:


$ echo "[©] [≤]" > tmp1
$ man -l tmp1
[©] [â¤]

$ (echo "'\\\" -*- coding: UTF-8 -*-"; cat tmp1) > tmp2
$ man -l tmp2
[©] []


In the latter case, at least *some* characters are displayed properly.

--
Jakub Wilk



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to