Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 235305

Summary: sys-apps/man: incorrect encoded messages
Product: Gentoo Linux Reporter: Rafał Mużyło <galtgendo>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED DUPLICATE    
Severity: minor CC: dawnstyle, marcopaolone
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Rafał Mużyło 2008-08-20 17:55:44 UTC
I think following is an old upstream bug,
cause IIRC I've seen that ever since I started with Gentoo few years ago.

I'm using pl_PL.UTF-8 locale.
In example, for PLEASE_WAIT, man displays:
Formatowanie strony, proszê czekaæ...
instead of:
Formatowanie strony, proszę czekać...
The message file (msgs/mess.pl) is encoded correctly:
`cat mess.pl | iconv -f latin2 |less` shows that everything should be OK.
Comment 1 Rafał Mużyło 2008-10-30 23:48:33 UTC
OK, I've verified it.
It is an upstream bug. Even more so,
it probably affects ALL utf8 locales.
The story:
man does not use gettext and it's message files are
simply results of gencat on text files in pre-utf8 encodings.

As such they probably work correctly in non-utf8 locales,
but display incorrectly in the utf8 ones.

To test it, I converted mess.pl to utf8, ran the commands
from the Makefile on it and after install, checked output of
'man --help' (as it's affected too). It displayed correctly. 
Comment 2 Rafał Mużyło 2009-02-07 02:43:15 UTC
*** Bug 257939 has been marked as a duplicate of this bug. ***
Comment 3 Rafał Mużyło 2009-12-11 13:26:05 UTC
*** Bug 296495 has been marked as a duplicate of this bug. ***
Comment 4 SpanKY gentoo-dev 2010-01-27 02:06:19 UTC

*** This bug has been marked as a duplicate of bug 126361 ***
Comment 5 Rafał Mużyło 2010-01-27 13:37:53 UTC
"messages of man"!="content of manpages"
In no way a duplicate bug 126361.
This is sys-apps/man only, no change in groff will affect it.
Comment 6 Evgeniy Dushistov 2010-07-30 19:51:00 UTC
Seems to me that this bug is duplicate to this bug:
http://bugs.gentoo.org/show_bug.cgi?id=93664
Comment 7 Rafał Mużyło 2010-07-30 21:22:32 UTC

*** This bug has been marked as a duplicate of bug 93664 ***