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

Bug#391699: marked as done (apt: Japanese manpages wrongly encoded when built with DocBook XSL >=1.69.0)

Your message dated Sat, 18 Nov 2006 18:11:07 +0100
with message-id <20061118171107.GA824@dedibox>
and subject line apt: encoding of fr and ja manpages fixed in
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: apt
Severity: important
Tags: patch l10n


The Japanese manpage apt(8) is found to be UTF-8-encoded[1].  Since
manpages do not have encoding information, Japanese manpages under
/usr/share/man/ja are all handled as EUC-JP-encoded files by the
man-db program[2], and UTF-8-encoded ones cannot displayed correctly
(nearly all the characters turn into garbage).  I've created a patch
to fix it and attach here, with the severity "important" since
manpages are important resources for users.

For more information, see my report #391061 for the aptitude package.

[1] http://lists.debian.or.jp/debian-users/200610/msg00010.html (in Japanese)
[2] man-db src/encodings.c



-- Package-specific info:

-- (/etc/apt/preferences present, but not submitted) --

-- (/etc/apt/sources.list present, but not submitted) --

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-3-686
Locale: LANG=ja_JP.eucJP, LC_CTYPE=ja_JP.eucJP (charmap=EUC-JP)

Versions of packages apt depends on:
ii  libc6                 2.3.2.ds1-22sarge4 GNU C Library: Shared libraries an
ii  libgcc1               1:3.4.3-13sarge1   GCC support library
ii  libstdc++5            1:3.3.5-13         The GNU Standard C++ Library v3

-- no debconf information
--- doc/ja/style.ja.xsl.orig	2006-03-02 23:28:52.000000000 +0900
+++ doc/ja/style.ja.xsl	2006-10-08 13:10:32.000000000 +0900
@@ -4,6 +4,6 @@
 <xsl:import href="/usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl" />
-<xsl:param name="chunker.output.encoding" select="'EUC-JP'" />
+<xsl:param name="man.output.encoding" select="'EUC-JP'" />
\ No newline at end of file

--- End Message ---
--- Begin Message ---
The fixed XSL stylesheets for fr an ja manpages have been uploaded with
the last apt-

Simon Paillard

--- End Message ---

Reply to: