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

Bug#428627: marked as done (Lintian gets confused if locale encoding differs from manpage encoding)



Your message dated Sun, 17 Jun 2007 16:40:17 -0700
with message-id <873b0qi1zy.fsf@windlord.stanford.edu>
and subject line Bug#428627: Lintian gets confused if locale encoding differs from manpage encoding
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
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=


--- End Message ---
--- Begin Message ---
This turned out to be the standard problem of not being able to assume a
locale or encoding for the English man pages and hence having to use the
groff_char escapes instead.  Closing per submitter.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>

--- End Message ---

Reply to: