Bug#465229: yelp: Recode manual pages to UTF-8

Colin Watson cjwatson at debian.org
Mon Feb 11 10:36:15 UTC 2008


Package: yelp
Version: 2.20.0-1
Severity: wishlist
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch hardy

The attached patch uses a new facility provided by man-db 2.5.1 to
recode manual pages to UTF-8 while reading them. This allows yelp's
rendering code to work regardless of the source encoding of the manual
page, without it having to have lots of logic duplicated from man-db to
figure this out. (At present, yelp breaks in different ways depending on
the source encoding; see e.g.
http://lists.debian.org/debian-i18n/2007/10/msg00081.html.)

This facility is specific to man-db, and so at present not suitable for
upstream (without some kind of run-time logic to figure out whether the
facility is available).

See also:

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=440420
  https://bugs.launchpad.net/ubuntu/+source/yelp/+bug/154829

Thanks,

-- 
Colin Watson                                       [cjwatson at debian.org]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yelp-man-utf8.patch
Type: text/x-diff
Size: 1714 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20080211/17367ce0/attachment.patch 


More information about the pkg-gnome-maintainers mailing list