reassign 555331 man-db 2.5.6-3
user man...@packages.debian.org
usertags 555331 target-2.5.7
tags 555331 fixed-upstream
clone 555331 -1
reassign -1 lintian 2.2.17
retitle -1 lintian: ensure that there's always a UTF-8 locale for use when 
running man?
severity -1 wishlist
thanks

On Mon, Nov 09, 2009 at 03:15:02PM +0000, Colin Watson wrote:
> In the short term, I think the best approach would be for man to set
> LC_CTYPE to some appropriate locale that matches the encoding requested
> by -E while running col. I'll see if I can arrange for this.

Fixed upstream, so I'm going to claim this as a man-db bug:

Mon Nov  9 16:27:44 GMT 2009  Colin Watson  <cjwat...@debian.org>

        * src/encodings.c (find_charset_locale): New function.
        * src/encodings.h (find_charset_locale): Add prototype.
        * src/man.c (make_roff_command): When invoking col, ensure that
          LC_CTYPE is set to an appropriate locale for the selected
          character set (Debian bug #555331).
        * NEWS: Document this.

> However, such a locale is not actually guaranteed to exist. Perhaps
> lintian needs to generate a UTF-8 locale if it can't find one
> otherwise, a bit like the hack in installation-locale; or perhaps we
> should just make sure that there's always a C.UTF-8 locale on the
> system, which could be used to get UTF-8 character type semantics
> without implying a particular language or country.

I've cloned a bug for this.

-- 
Colin Watson                                       [cjwat...@debian.org]



-- 
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