Bug#575661: lintian: Fix to col command error
On Sat, Apr 10, 2010 at 07:43:39AM -0700, Russ Allbery wrote:
> Osamu Aoki <osamu@debian.org> writes:
>
> > Since this test should work in all environment, I think whoever created
> > this test must have chosen LANG=C with reason. I am not even sure if
> > en_US.UTF-8 exists in the test environment.
>
> Lintian guarantees that en_US.UTF-8 exists.
Thanks fo confirming this. (Some code looked like so.)
> > Then I also realized there are manpages in many old encodings and they
> > need to be tested by this script. Testing for the good UTF-8-ness is
> > not the right choice (although I suggested so in the previous report.)
>
> > So the right thing to do is like other exceptions given in the code.
>
> > Please apply attached patch to /usr/share/lintian/checks/manpages
> > (of course in source file as lintian-2.3.4/checks/manpages)
>
> My understanding of how man is supposed to work with character encodings
> says that we should not need to be doing things like this. I've been
> hoping Colin would weigh in on this bug, though, since he knows way more
> about what's going on here than I do.
The current check code seemed to run on all manpages with different
encoding. So using UTF-8 is not soulution either.
Reply to: