Red Hat Bugzilla – Bug 103931
man iso_8859_1 yields "can't find special character" warnings
Last modified: 2007-04-18 12:57:25 EDT
Description of problem:
Issuing the command "man iso_8859_1" (similarly for the other iso_8859_x man
pages) results in a large volume of warnings printed to stderr, in two forms:
<standard input>:109: warning: can't find numbered character 28
<standard input>:113: warning: can't find special character `u011C'
The latter of the two message appear in far greater numbers, approx. 119 lines
of these warnings are generated. The numbers between the first two colons and
the last number differ in each warning.
Version-Release number of selected component (if applicable):
man version 1.5k
Steps to Reproduce:
1. man iso_8859_1
2. Optionally: Do the command man iso_8859_1 2>manwarnings.txt to be able to
review the warnings more thoroughly later.
Actual results: Large number of warnings scroll down the display (unless
redirected to a file). Also, the display of the man page is corrupted by some
missing characters and garbled display in the bottom 1/4 or so of the man page.
Expected results: A properly formatted man page with all characters appearing as
designed, with no warning messages printed to stderr.
This behavior is observed at a console prompt without X running and also in
xterm and gnome-terminal. Experiments with changing the language by modifying
the line in /etc/sysconfig/i18n to (for example) LANG="C" (and rebooting) or by
issuing commands like "env LANG=C man iso_8859_1" can be seen to affect the
outcome, but the man pages are still garbled in some way in all cases tested
(varying the language as C, en_US, latin1, etc.), even if the special character
warnings are silenced.
the ISO-8859-1 page should not belong in the C locale... the C locale man pages
need to be ASCII only for the sake of language fallback. The current version of
man-pages in rawhide reduces the C version to ascii and keeps the original in
the "en" locale, which can display ISO-8859-1 characters.