ko_KR.UTF-8 multibyte patch

Bug #176896 reported by HazE
2
Affects Status Importance Assigned to Milestone
man-db (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: mab-db

Man-db cannot show manpages-ko in ko_KR.UTF-8 locale environment.
I patched man-db.

--- man-db-2.4.4.orig/src/encodings.c 2006-12-26 23:14:52.000000000 +0900
+++ man-db-2.4.4/src/encodings.c 2007-12-16 01:43:35.511588683 +0900
@@ -425,7 +428,8 @@
         */
        if ((STREQ (input, "BIG5") ||
             STREQ (input, "EUC-JP") ||
- STREQ (input, "GB2312") || STREQ (input, "GBK")) &&
+ STREQ (input, "GB2312") ||
+ STREQ (input, "GBK")) || STREQ (input, "EUC-KR") &&
            STREQ (output, "UTF-8"))
                return 1;
 #endif /* MULTIBYTE_GROFF */
@@ -498,7 +502,8 @@
                if (STREQ (ctype, "ja_JP.UTF-8") ||
                    STREQ (ctype, "zh_CN.UTF-8") ||
                    STREQ (ctype, "zh_SG.UTF-8") ||
- STREQ (ctype, "zh_TW.UTF-8"))
+ STREQ (ctype, "zh_TW.UTF-8") ||
+ STREQ (ctype, "ko_KR.UTF-8"))
                        roff_encoding = "UTF-8";
        }
 #endif /* MULTIBYTE_GROFF */

HazE (hansun-lee)
description: updated
Revision history for this message
HazE (hansun-lee) wrote :
HazE (hansun-lee)
Changed in man-db:
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package man-db - 2.5.1-1

---------------
man-db (2.5.1-1) unstable; urgency=low

  * New upstream release.
    - Fix a number of problems with the localisation changes in 2.5.0.
      Notably, manual pages are converted to the proper input encoding for
      troff output as well as nroff output, and manconv's encoding fallback
      mechanism should now actually fall back as intended.
    - Add a 'man --recode' option to output a source manual page converted
      to a specified encoding. This is expected to be used by debhelper to
      install UTF-8 manual pages.
    - Fix "occured" typo in mandb(8) (thanks, Alfie Costa; closes: #446044).
    - Allow only alphanumerics and "-_/:.()" in encoding names (closes:
      #446055).
    - Enable localisation in accessdb, globbing, lexgrog, and zsoelim
      (closes: #448395).
    - Allow passing warning options to groff, either using the environment
      variable MANROFFOPT or the new 'man --warnings' option (thanks, Ivan
      Shmakov; closes: #451187).
    - Add 'man -s' as an alias for 'man -S' (closes: #458499).
    - 'man -l' guesses language based on absolute path to provided file,
      rather than relative (closes: #460014).
    - mandb sets the new file's mode to DBMODE in order to try to defend
      against strange problems with databases being left world-unreadable
      (closes: #430800).
    - Don't ignore SIGINT and SIGQUIT just because a decompression process
      is running (closes: #462276).
    - Update Russian translation (closes: #452417).
    - Add Korean support, requiring groff >= 1.18.1.1-16 (LP: #176896).
  * Policy version 3.7.3:
    - Move doc-base entry to Applications/Viewers.
  * Update debian/copyright. Due to incorporating parts of Gnulib, the
    man-db package as a whole now falls under GPLv3.

 -- Colin Watson <email address hidden> Mon, 28 Jan 2008 11:24:25 +0000

Changed in man-db:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.