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

Bug#391699: apt: Japanese manpages wrongly encoded when built with DocBook XSL >=1.69.0



Package: apt
Version: 0.6.46.1
Severity: important
Tags: patch l10n


Hi,

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

Thanks,

-nori


-- 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'" />
 
</xsl:stylesheet>
\ No newline at end of file

Reply to: