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

Bug#428627: Lintian gets confused if locale encoding differs from manpage encoding



Package: lintian
Version: 1.23.27

I'm writing a latin1 encoded manpage that contains amongst ordinary characters 
a special norwegian character "ø" (latin1 character number: 248)

When I run lintian on the .deb with the mentioned manpage, it gives me the 
following:
  warning: can't find numbered character 248

My untested theory for this error is that my locale encoding is set to UTF-8.
I believe that if the locale encoding is the same as the manpage encoding, 
this warning won't occur.

The reason why I'm using latin1 encoding instead of utf8 on the manpage is 
that currently all manuals residing in /usr/share/man/no will be read as 
latin1 irregardless of what encoding the manpage is written with. I was told 
that this is an outdated policy stated by mandb.

I am using Ubuntu 7.04 with kernel 2.6.20-16-generic

$ locale
LANG=nb_NO.UTF-8
LANGUAGE=nb_NO:nb:no_NO:no:nn_NO:nn:en
LC_CTYPE="nb_NO.UTF-8"
LC_NUMERIC="nb_NO.UTF-8"
LC_TIME="nb_NO.UTF-8"
LC_COLLATE="nb_NO.UTF-8"
LC_MONETARY="nb_NO.UTF-8"
LC_MESSAGES="nb_NO.UTF-8"
LC_PAPER="nb_NO.UTF-8"
LC_NAME="nb_NO.UTF-8"
LC_ADDRESS="nb_NO.UTF-8"
LC_TELEPHONE="nb_NO.UTF-8"
LC_MEASUREMENT="nb_NO.UTF-8"
LC_IDENTIFICATION="nb_NO.UTF-8"
LC_ALL=



Reply to: